Description Usage Arguments Examples
View source: R/design_matrices.R
Function for setting up random effects (intercepts or B-spline curves)
1 2 |
x |
vector evaluation points (typically time) |
id |
character string designating grouping variable |
data |
dataset in which to evaluate arguments |
randomCurves |
TRUE/FALSE if True, uses B-spline bases, otherwise random intercepts |
width |
scalar width of B-spline bases (if randomCurves = TRUE) |
norder |
scalar order of B-spline bases (order k is degree k-1) (if randomCurves = TRUE) |
derivOrder |
scalar order of derivative used in the random effect penalty matrix (if randomCurves = TRUE) |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.