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