iterativeModel.Rd
Information about variable statistic from each model is extracted using
tidy
function.
iterativeModel(object, placeholder, variables, exponentiate = FALSE)
An existing fit from a model function such as lm, glm and many others.
String specifying term to substitute with value from
x
. Ignored if set to NULL
.
Character vector specifying variables to use in association tests.
Logical flag indicating whether or not to exponentiate
the coefficient estimates. Internally this is passed to
tidy
. This is typical for logistic and multinomial
regressions, but a bad idea if there is no log or logit link. Defaults to
FALSE.
Tibble containing per variable summarised model statistics. The exact output format is model dependent and controlled by model's dedicated
tidy
function.