cv.logs {YRmisc}R Documentation

Create logarithm with a random base

Description

Create a new variable that is the logarithm of the selected variable with the base of a random number

Usage

cv.logs(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.logs(mtcars,"wt",5,c(1, 2))

[Package YRmisc version 0.1.6 Index]