The residual from linear model (mf.resid) and the permuted one (mf.perm.resid).
1 2 | mf.perm.resid(data = data_long.vs.Jnt, n.perm = 500,
model = my.model, var = "Visit")
|
data |
A dataframe with column of (to be imput to mf.resid function as data_long.vs.Jnt argument) |
n.perm |
The number of permuted data. |
model |
A formula for lm() function to calculate residuals. |
var |
A character vector to specify the categorical variate to differring the residuals. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.