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

View source: R/printfunctions.R

formula.mcmlR Documentation

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 class 'mcml'
formula(x, ...)

Arguments

x

A 'mcml' object.

...

Further arguments passed from other methods

Value

A formula object.


glmmrBase documentation built on April 3, 2025, 10:44 p.m.