cv.logs {YRmisc} | R Documentation |
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)
dataframe |
:a data frame |
var |
:the variable selected |
n |
:number of new variables created |
range |
:the range of base |
cv.logs(mtcars,"wt",5,c(1, 2))