buildclmm {buildmer}R Documentation

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

buildmer-package

Examples

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

[Package buildmer version 1.9 Index]