Description Usage Arguments Value
This function will not work by itself. Instead, modeller_from_loglik
provides a modified version of it.
1 2 3 4 | modeller_template(formulas, data, standardize_x = FALSE,
na.action = na.warn, loglik_fun_args = list(),
penalty_fun_args = list(), optim_args = list(method = "BFGS", control =
list(trace = as.integer(interactive()), maxit = 250)), contrasts = NULL)
|
formulas |
A list of formulas. The LHS should contain the dependent variable wrapped around a parameter– e.g., |
data |
A data.frame. |
standardize_x |
Should data be standardized before passing to optimizer? Can help with convergence. Affects interpretation of coefficients. |
na.action |
Action when records in data are NA |
loglik_fun_args |
Further arguments to pass to the loglik function (from |
penalty_fun_args |
Further arguments to pass to the penalty function (from |
optim_args |
A list of arguments to pass to |
An object of class 'keanu_model', with print and predict methods.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.