Description Usage Arguments Value
View source: R/varianceExplained.R
Returns the residuals of x explained by each variable (column of m) using mixed models.
1 | getLmeResiduals(x, m, form, variables = NULL)
|
x |
a numeric vector (expression values to be explained) |
m |
a data.frame with rows corresponding to each value of x, and columns indicating the values of explanatory variables. |
form |
Specify the formula to use (required). |
variables |
Character vector containing the names of the variables, in the order in which they should be returned. If NULL, 'colnames(m)' is used. |
a numeric vector of squared residuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.