create_fmla: Create a formula

Description Usage Arguments Details

View source: R/model.R

Description

Funcion to create formula from x and y variables.

Usage

1
create_fmla(y = NULL, x = NULL, as_fmla = TRUE)

Arguments

y

character. Y variable,

x

character. x variable,

as_fmla

logical. Indicates whether to return a formula,

Details

Implements independent regressor only (not interaction terms). This originally spawned in my NBA project.


aelhabr/teutils documentation built on May 7, 2019, 7:59 a.m.