with_dev_pred: Generate numerical deviation-coded predictors

Description Usage Arguments Value Examples

Description

Add deviation-coded predictors to data frame.

Usage

1
with_dev_pred(dat, iv_names = NULL)

Arguments

dat

A data frame with columns containing factors to be converted.

iv_names

Names of the variables to be converted.

Value

A data frame including additional deviation coded predictors.

Examples

1
with_dev_pred(stim_lists(list(ivs = c(A = 3))), "A")

dalejbarr/funfact documentation built on May 14, 2019, 3:31 p.m.