models {rmdl} | R Documentation |
Model Prototypes
Description
Usage
mdl(x = unspecified(), ...)
## S3 method for class 'character'
mdl(
x,
formulas,
parameter_estimates = data.frame(),
summary_info = list(),
data_name,
strata_variable = NA_character_,
strata_level = NA_character_,
...
)
## S3 method for class 'lm'
mdl(
x = unspecified(),
formulas = fmls(),
data_name = character(),
strata_variable = character(),
strata_level = character(),
...
)
## S3 method for class 'glm'
mdl(
x = unspecified(),
formulas = fmls(),
data_name = character(),
strata_variable = character(),
strata_level = character(),
...
)
## S3 method for class 'coxph'
mdl(
x = unspecified(),
formulas = fmls(),
data_name = character(),
strata_variable = character(),
strata_level = character(),
...
)
## Default S3 method:
mdl(x, ...)
model(x = unspecified(), ...)
Arguments
x |
Model object or representation |
... |
Arguments to be passed to or from other methods |
formulas |
Formula(s) given as either an |
parameter_estimates |
A
|
summary_info |
A
|
data_name |
String representing name of dataset that was used |
strata_variable |
String of a term that served as a stratifying variable |
strata_level |
Value of the level of the term specified by
|
Value
An object of the mdl
class, which is essentially an equal-length
list of parameters that describe a single model. It retains the original
formula call and the related roles in the formula.