View source: R/private_functions.R
prGetModelData | R Documentation |
Returns the raw variables from the original data
frame using the get_all_vars()
but with the twist that it also performs any associated
subsetting based on the model's subset()
argument.
prGetModelData(x, terms_only = FALSE, term.label)
x |
The fitted model. |
terms_only |
Only use the right side of the equation by selecting the terms |
term.label |
Sometimes need to retrieve specific spline labels that are not among the 'labels(terms(x))' |
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.