View source: R/influence_functions.R
| rvc.default | R Documentation | 
This function calculates the relative variance change (RVC) of
hierarchical linear models fit via lmer.
## Default S3 method:
rvc(model, ...)
## S3 method for class 'mer'
rvc(model, level = 1, delete = NULL, ...)
## S3 method for class 'lmerMod'
rvc(model, level = 1, delete = NULL, ...)
## S3 method for class 'lme'
rvc(model, level = 1, delete = NULL, ...)
model | 
 fitted model object of class   | 
... | 
 do not use  | 
level | 
 variable used to define the group for which cases will be
deleted.  If   | 
delete | 
 index of individual cases to be deleted. To delete specific 
observations the row number must be specified. To delete higher level
units the group ID and   | 
If delete = NULL a matrix with columns corresponding to the variance 
components of the model and rows corresponding to the deleted 
observation/group is returned. 
If delete is specified then a named vector is returned.
The residual variance is named sigma2 and the other variance 
components are named D** where the trailing digits give the
position in the covariance matrix of the random effects.
Adam Loy loyad01@gmail.com
Dillane, D. (2005) Deletion Diagnostics for the Linear Mixed Model. Ph.D. thesis, Trinity College Dublin
leverage.mer, 
cooks.distance.mer, mdffits.mer,
covratio.mer, covtrace.mer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.