test_specs: Add interaction terms to list of test variables if needed

Description Usage Arguments Details Value Examples

View source: R/regress.R

Description

Add interaction terms to list of test variables if needed

Usage

1
test_specs(tv, int)

Arguments

tv

List of variables to use for testing for regress or logistic

int

Interaction terms specified

Details

See https://radiant-rstats.github.io/docs/model/regress.html for an example in Radiant

Value

A vector of variables names to test

Examples

1
2
3
4
test_specs("a", "a:b")
test_specs("a", c("a:b", "b:c"))
test_specs("a", c("a:b", "b:c", "I(c^2)"))
test_specs(c("a", "b", "c"), c("a:b", "b:c", "I(c^2)"))

radiant-rstats/radiant.model documentation built on Jan. 22, 2019, 5:41 a.m.