Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

**Class: **LinearMixedModel

Residuals of fitted linear mixed-effects model

`R = residuals(lme)`

`R = residuals(lme,Name,Value)`

returns
the residuals from the linear mixed-effects model `R`

= residuals(`lme`

,`Name,Value`

)`lme`

with
additional options specified by one or more `Name,Value`

pair
arguments.

For example, you can specify Pearson or standardized residuals, or residuals with contributions from only fixed effects.

Was this topic helpful?