Description Usage Arguments Details Value See Also

This function calculates random effects of a mixed model based on a subset of the variance terms.

1 | ```
calc_ranef(model, ran)
``` |

`model` |
a model object. |

`ran` |
a named list of integer vectors representing the random effects that should be calculated. |

The names of the list `ran`

correspond to the names
of the list returned by `ranef_labels(model)`

.

The integer values within each vector correpsond to the position of the name of the random effect.

If `ran`

is `NULL`

, the function will return a vector
of zeroes.

a numeric vector.

`ranef`

for extracting the modes of the
random effects.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.