make_correlation_grid: make_correlation_grid

Description Usage Arguments Value Author(s) See Also Examples

Description

makes the search grid for dredge_correlation

Usage

1
make_correlation_grid(data, max_lag = getOption("mndredge_max_lag", 0))

Arguments

data

a data.frame to generate the search grid from

max_lag

the maximum lag to search

Value

a tidy data.frame containing the following components:

pair_1

the name of the first column to use

pair_2

the name of the second column to use

lag

the lag to be applyed to the data.frame before cor.test is called

Author(s)

Mark Newman, mark@trinetteandmark.com

See Also

Other search grids: make_regression_grid

Examples

1
  

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