cumulative: Fit a cumulative ordinal model with varying ordered...

View source: R/cumulative.R

cumulativeR Documentation

Fit a cumulative ordinal model with varying ordered thresholds and fixed latent mean and sd

Description

Fit a cumulative ordinal model with varying ordered thresholds and fixed latent mean and sd

Usage

cumulative(formula, ...)

Arguments

formula

a model formula of the form resp ~ f1 * f2 + (f1 | id), where resp is the name of the ordinal response variable. This will be transformed to a vector of two model formulae and a response - stimulus formula for the bhsdtr function: bhsdtr(c(mean ~ 1, thr ~ f1 * f2 + (f1 | id)), resp ~ 1, ...)

...

additional arguments passed to the bhsdtr function. See the bhsdtr documentation for details.

Value

a bhsdtr model object


boryspaulewicz/bhsdtr2 documentation built on July 17, 2024, 8:22 p.m.