Create a matrix of bisquare bases for a set of locations. Used internally in BSTFA and BSTFAfull.
makeNewS(
coords,
n.locations,
knot.levels = 2,
max.knot.dist = mean(dist(coords)),
x = NULL,
premade.knots = NULL,
plot.knots = FALSE,
regions = FALSE
)A matrix containing all the multiresolution bisquare bases evaluated at the input coordinates.
Matrix of coordinates for locations of interest.
Number of observed locations.
Number of levels for the knots. Default is 2.
Maximum distance between an observation and a knot. Default is mean(dist(coords)).
Optional matrix of covariates to include in the model.
Optional list of length knot.levels each list item containing pre-chosen knots for that level.
Logical scalar indicating whether or not to plot the knots. Default is FALSE.
Logical scalar indicating if the space should be divided into multiresolution regions. Default is FALSE.
Candace Berrett and Adam Simpson