cv.powers: Create nth power variable

Description Usage Arguments Examples

View source: R/cv.powers.R

Description

Create a new variable that is the nth power of the selected variable

Usage

1
cv.powers(dataframe, var, n, range)

Arguments

dataframe

:a data frame

var

:the variable selected

n

:number of new variables created

range

:the range of power

Examples

1
cv.powers(mtcars,"wt",5,c(1, 2))

YRmisc documentation built on March 25, 2020, 5:13 p.m.

Related to cv.powers in YRmisc...