box.cox: box cox transformation

Description Usage Arguments Details Examples

View source: R/box.cox.R

Description

returns a box cox transformed variable,

Usage

1

Arguments

x

the variable to transform

scale

the scaling power you want to use

Details

Detects whether there are zeros in data and adds a constant of 1 if there are

Examples

1
2
3
set.seed(204)
x<-rpois(30, 10)
box.cox(x)

dprocter/dpfuncs documentation built on May 21, 2019, 9:20 a.m.