Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

buildclmm

Use buildmer to fit cumulative link mixed models using clmm from package ordinal


Description

Use buildmer to fit cumulative link mixed models using clmm from package ordinal

Usage

buildclmm(formula, data = NULL, buildmerControl = buildmerControl(), ...)

Arguments

formula

A formula specifying both fixed and random effects using lme4 syntax

data

See the general documentation under buildmer-package

buildmerControl

Control arguments for buildmer — see the general documentation under buildmerControl

...

Additional options to be passed to clmm; for backward-compatibility reasons, will also accept buildmer control parameters, although those specified in buildmerControl will take precedence

Details

buildclmm tries to guess which of ... are intended for clm and which are for clmm. If this goes wrong, this behavior can be suppressed by passing explicit clm.control and clmm.control arguments. If one of these is specified, any control argument is interpreted to be intended for the other one; if both are specified in conjunction with a third control argument, an error is raised.

See Also

Examples

if (requireNamespace('ordinal')) {
model <- buildclmm(SURENESS ~ PROD + (1|RESP),data=ordinal::soup,link='probit',
	threshold='equidistant')
}

buildmer

Stepwise Elimination and Term Reordering for Mixed-Effects Regression

v1.9
FreeBSD
Authors
Cesko C. Voeten [aut, cre] (<https://orcid.org/0000-0003-4687-9973>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.