cv.axp {YRmisc}R Documentation

Create logarithm with a random base

Description

Create a new variable with the base of a random number and power of the selected variable

Usage

cv.axp(dataframe, var, n, range)

Arguments

dataframe

:a data frame

var

:the variable selected

n

:number of new variables created

range

:the range of base

Examples

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

[Package YRmisc version 0.1.6 Index]