pick_fit_model: Pick the best linear regression model and fit it.

Description Usage Arguments Value

View source: R/simulation-lib.R

Description

Calls pick_fit_model_leaps or pick_fit_model_step to actually do the underlying work. NOT exported to the user.

Usage

1
pick_fit_model(xs, ys, method = c("step", "leaps"), direction = "both")

Arguments

xs

Covariates

ys

Responses

method

If leaps, run leaps. Otherwise, if step, run step-wise selection

direction

Only valid of method = "step". Run step-wise selection using step in the specified direction

Value

95


shiandy/methods1proj documentation built on Dec. 31, 2020, 5:15 a.m.