ladder: Replica of Stata's ladder function

Description Usage Arguments Value Examples

View source: R/ladder.R

Description

Searches the ladder of powers histograms to find a transformation to make x normally distributed. The Shapiro-Wilkes test is used to assess for normality. The following transformations are included: identity, cubic, square, square root, natural logarithm, inverse square root, inverse, inverse square, and inverse cubic.

Usage

1
ladder(x)

Arguments

x

A continuous numeric vector.

Value

A data.frame

Examples

1
2
ladder(iris$Sepal.Length)
ladder(mtcars$disp)

craigjmcgowan/helpR documentation built on Sept. 2, 2020, 5:59 p.m.