powered by
Create a new variable with the base of a random number and power of the selected variable
cv.axp(dataframe, var, n, range)
:a data frame
:the variable selected
:number of new variables created
:the range of base
# NOT RUN { cv.axp(mtcars,"wt",5,c(1, 2)) # }
Run the code above in your browser using DataLab