Extracts the associated formula for the given distributional parameter.
# S3 method for class 'lcMethod'
formula(x, what = "mu", envir = NULL, ...)The lcMethod object.
The distributional parameter to which this formula applies. By default, the formula specifies "mu".
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.
The formula for the given distributional parameter.
Other lcMethod functions:
[[,lcMethod-method,
as.data.frame.lcMethod(),
as.data.frame.lcMethods(),
as.lcMethods(),
as.list.lcMethod(),
evaluate.lcMethod(),
lcMethod-class,
names,lcMethod-method,
update.lcMethod()
method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
formula(method) # Y ~ Time
#> Y ~ Time
#> <environment: 0x55a219842d40>