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))

PMmisc documentation built on May 1, 2019, 9:57 p.m.

Related to cv.powers in PMmisc...