Usage
mdl(x = unspecified(), ...)
# S3 method for character
mdl(
x,
formulas,
parameter_estimates = data.frame(),
summary_info = list(),
data_name,
strata_variable = NA_character_,
strata_level = NA_character_,
...
)
# S3 method for lm
mdl(
x = unspecified(),
formulas = fmls(),
data_name = character(),
strata_variable = character(),
strata_level = character(),
...
)
# S3 method for glm
mdl(
x = unspecified(),
formulas = fmls(),
data_name = character(),
strata_variable = character(),
strata_level = character(),
...
)
# S3 method for coxph
mdl(
x = unspecified(),
formulas = fmls(),
data_name = character(),
strata_variable = character(),
strata_level = character(),
...
)
# S3 method for default
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
formula
or as afmls
object- parameter_estimates
A
data.frame
that contains columns representing terms and individual estimates or coefficients, can be accompanied by additional statistic columns. By default, assumesterm = term name
estimate = estimate or coefficient
- summary_info
A
list
that contains columns representing summary statistic of a model. By default, assumes...nobs = number of observations
degrees_freedom = degrees of freedom
statistic = test statistic
p_value = p-value for overall model
var_cov = variance-covariance matrix for predicted coefficients
- 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
strata_variable