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))

PMmisc documentation built on May 1, 2019, 9:57 p.m.

Related to cv.logs in PMmisc...