Description Usage Arguments Examples
View source: R/design_matrices.R
Function for setting up p-spline smooths
1 2 |
x |
vector evaluation points (typically time) |
norder |
scalar order of B-spline bases (order k is degree k-1) |
k |
scalar k+1 is order of finite difference matrix |
data |
dataset in which to evaluate arguments |
by |
optional character string designating varying coefficient |
ref |
optional reference level of by variable |
width |
scalar width of B-spline bases |
delta |
scalar place upper knot in B-spline basis at max(x) + delta |
center |
TRUE/FALSE if True, impose centering constrain on non-variable coefficient models |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.