make_gam.Rd
Function for Generating Basis Functions
make_gam(
coords,
method = "cubic2d",
nd = 20,
K = NULL,
nruns = 10,
num.nn = 20,
ll.to.utm = TRUE,
max.loop = 40,
print.plot = TRUE,
plot.main = NULL,
scale.coords = TRUE
)
matrix or data frame with easting and northing coordinates, respectively. First column should be easting (e.g., X, long) and second northing.
one of c("mgcv", "cubic2d", "strebel")
number of points to use in cover design. See fields::cover.design.
max number of basis functions to produce in mgcv::jagam()
The number of random starts to be optimized.See fields::cover.design.
max number of nearest neighbors. See fields::cover.design.
logical if TRUE will convert lat long coordinates to UTMs prior to creating distance-based basis functions.
Maximum number of passes throguh cover.design algorithm. See fields::cover.design.
logical if TRUE will print spatial representation of site and knot locations to local device.
optional Character vector for plot title.
logical if TRUE will scale and center the XY coordinates using bbsebird::standardize.