Learn R Programming

glmmrBase (version 1.0.0)

formula.mcml: Extracts the formula from a `mcml` object.

Description

Extracts the formula from a `mcml` object. Separate formulae are specified for the fixed and random effects in the model, either of which can be returned. The complete formula is available from the generating `Model` object as `Model$formula` or `formula(Model)`

Usage

# S3 method for mcml
formula(x, ...)

Value

A formula object.

Arguments

x

A `mcml` object.

...

Further arguments passed from other methods