linear_formula: Linear formula

Description Usage Arguments Value

View source: R/model-features.R

Description

Defines a formula for the formula argument of model_features corresponding to a simple linear combination of features.

Usage

1
linear_formula(x, features)

Arguments

x

(Data frame) Dataset with respect to which features are defined.

features

Character vector of features, with each feature corresponding to a unique column of x.

Value

A formula object to be passed to model_features.


pmcharrison/voicer documentation built on Dec. 17, 2020, 1:09 p.m.