get_cv_error: Helper function for cross-validation; sampling part

Description Usage Arguments

View source: R/fct_subset.R

Description

Helper function for cross-validation; sampling part

Usage

1
get_cv_error(model.formula, data, nvars)

Arguments

model.formula

The formula for the model

data

The dataframe containing the regression data

nvars

The max number of variables to use in the best subset model


saralsmith/SHIFT documentation built on Feb. 7, 2021, 5:48 p.m.