make_regression_grid: make_regression_grid

Description Usage Arguments Value Author(s) See Also Examples

Description

makes the search grid for dredge_regression

Usage

1
2
3
make_regression_grid(data, max_columns = getOption("mndredge_max_columns", 4),
  max_correlation = getOption("mndredge_max_correlation", 0.85),
  beam_width = getOption("mndredge_beam_width", 1000))

Arguments

data

a data.frame to generate the search grid from

max_columns

the maximum columns that can go into lm formula

max_correlation

max pair-wise abs of cor for the predictors because lm performs poorly with corrlated columns.

beam_width

the maximum the maximum number of regressions to try for the data.frame

Value

a tidy data.frame containing the following components:

formula

the formula to use in lm

Author(s)

Mark Newman, mark@trinetteandmark.com

See Also

Other search grids: make_correlation_grid

Examples

1
  

markanewman/mndredge documentation built on May 9, 2019, 5:52 a.m.