addPowToVars: Add exponent to a vector of variables

Description Usage Arguments Value Examples

View source: R/createFormula.R

Description

Remark: Since this function is to be used only within createFormula, the validity of the input is not checked here but in createFormula.

Usage

1

Arguments

vars

character: variable names

power

integer: exponent

Value

Vector of same length as vars

Examples

1
BMSC:::addPowToVars(c("x1", "x2"), 2)

BMSC documentation built on Aug. 2, 2019, 5:05 p.m.

Related to addPowToVars in BMSC...