cv.logs: Create logarithm with a random base

Description Usage Arguments Examples

View source: R/cv.logs.R

Description

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

Usage

1
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

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

YRmisc documentation built on March 25, 2020, 5:13 p.m.

Related to cv.logs in YRmisc...