Description Usage Arguments Value Examples
A pure R implementation of the penalized least
squares (PLS) approach to evaluation of the deviance or the
REML criterion for linear mixed-effects models.
1 2 |
formula |
a two-sided model formula with random-effects terms and, optionally, fixed-effects terms. |
data |
a data frame in which to evaluate the
variables from |
REML |
calculate REML deviance? |
weights |
prior weights |
offset |
offset |
sparseX |
should X, the model matrix for the fixed-effects coefficients be sparse? |
... |
additional arguments |
a list with:
X Fixed effects
model matrix
y Observed response vector
fr Model frame
call Matched call
REML Logical indicating REML or not
weights Prior weights or NULL
offset Prior offset term or NULL
Zt Transposed random effects model matrix
Lambdat Transposed relative covariance factor
theta Vector of covariance parameters
lower Vector of lower bounds for theta
upper Vector of upper bounds for theta
thfun A function that maps theta into the
structural non-zero elements of Lambdat, which are
stored in slot(Lambdat, 'x')
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.