2-dimentional radial spline generator used in cpglmm
sp2d(x1, x2, k = max(20, min(length(x1)/4, 150)), by = NULL,
allPen = FALSE, varying = NULL, diag = FALSE,
knots1 = quantile(x1, probs = 1:k/(k + 1)),
knots2 = quantile(x1, probs = 1:k/(k + 1)))the first covariate in the coordinate
the second covariate in the coordinate
number of knots
not used. This is just for compatibility with amer.
not used. This is just for compatibility with amer.
not used. This is just for compatibility with amer.
not used. This is just for compatibility with amer.
vector of knot locations for the first covariate in the coordinate
vector of knot locations for the second covariate in the coordinate