loo_helper | R Documentation |
Leave-m-out estimation
loo_helper(
data,
var,
loo_n = 1,
loo_fun = function(dat) estimatr::tidy(estimatr::lm_robust(data = dat, formula = mpg ~
1)),
parallel = FALSE
)
data |
data frame |
var |
character vector of variable(s) name(s) to use for LOO |
loo_n |
number of unique values of var to leave out at a time |
loo_fun |
estimation function |
parallel |
whether to use parallel in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.