step_lm | R Documentation |
Usually users will have lots of iquizoo games test at once, however it is bad idea to put all the games into a model to predict academic score, which might cause the problem of overfitting or a decline of adjust r squared. So we choose a subset of iquizoo games to be placed into the model by step regression.
step_lm(data_wider, formula, n_tasks = 5, trace = FALSE, ...)
data_wider |
Data.frame, which each row contains all the observations of a single person |
formula |
Formula, indicate which variables should be included in model |
n_tasks, |
Numerical, the least number of tasks that a step method should be used |
... |
Other arguments used in stats::step function |
A lm object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.