model_skeleton {LSTbook} | R Documentation |
Convert a model to a skeleton
Description
A "skeleton" is a data frame containing "nicely spaced" values for the explanatory variables in a model.
Usage
model_skeleton(mod, data = NULL, ncont = 3, nfirstcont = 50)
Arguments
mod |
A fitted model or a tilde expression describing a model structure, e.g. |
data |
a data frame. Relevant only when |
ncont |
minimum number of levels at which to represent continuous variables. (More levels
may be added to "prettify" the choices. See |
nfirstcont |
Like |
Value
a data frame
Examples
Model <- FEV |> model_train(FEV ~ sex + age + height)
Model |> model_skeleton()
[Package LSTbook version 0.5.0 Index]