Learn R Programming

ordinalCont (version 2.0.2)

model.frame.ocm: Model Frame

Description

model.frame.ocm is the ordinalCont specific method for the generic function model.frame, which return a data.frame with the variables needed to use formula and any ... arguments.

Usage

# S3 method for ocm
model.frame(formula, data, random.terms = TRUE, ...)

Arguments

formula

a model formula

data

a data.frame containing the variables in formula.

random.terms

a logical indicating if random terms have to be included in the terms object. Defaults to TRUE.

...

a mix of further arguments to pass to the default method.

Value

A c("data.frame") with the variables needed to obtain object.