formula.lcMethod: Extract formula

formula.lcMethodR Documentation

Extract formula

Description

Extracts the associated formula for the given distributional parameter.

Usage

## S3 method for class 'lcMethod'
formula(x, what = "mu", envir = NULL, ...)

Arguments

x

The lcMethod object.

what

The distributional parameter to which this formula applies. By default, the formula specifies "mu".

envir

The environment in which to evaluate the arguments. If NULL, the environment associated with the object is used. If not available, the parent.frame() is used.

...

Additional arguments.

Value

The formula for the given distributional parameter.

See Also

Other lcMethod functions: [[,lcMethod-method, as.data.frame.lcMethods(), as.data.frame.lcMethod(), as.lcMethods(), as.list.lcMethod(), evaluate.lcMethod(), lcMethod-class, names,lcMethod-method, update.lcMethod()

Examples

method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
formula(method) # Y ~ Time

latrend documentation built on March 31, 2023, 5:45 p.m.