sp2d: 2-dimentional Radial Spline

Description Usage Arguments Author(s)

View source: R/spline.R

Description

2-dimentional radial spline generator used in cpglmm

Usage

1
2
3
4
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)))

Arguments

x1

the first covariate in the coordinate

x2

the second covariate in the coordinate

k

number of knots

by

not used. This is just for compatibility with amer.

allPen

not used. This is just for compatibility with amer.

varying

not used. This is just for compatibility with amer.

diag

not used. This is just for compatibility with amer.

knots1

vector of knot locations for the first covariate in the coordinate

knots2

vector of knot locations for the second covariate in the coordinate

Author(s)

Fabian Scheipl fabian.scheipl@googlemail.com


cplm documentation built on May 20, 2017, 2:58 a.m.

Search within the cplm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.