Description Usage Arguments Value
Fits a regression model predicting an outcome variable from provided variables.
1 2 3 4 5 6 7 | fit.regression.model(
icc.dt,
predictor.vars = NULL,
outcome.var = "icc",
include.interactions = F,
model.type = c("lm", "loess")[1]
)
|
icc.dt |
A data.table with the parameters of the various simulations and ICC. |
predictor.vars |
Calculate interation effects, or just simple effects (Default: F) |
outcome.var |
Character column name to predict (Default: ICC) |
model.type |
Type of model to fit, currently supports linear ('lm') and quadratic ('loess') (Default: 'lm') |
A linear model object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.