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/describedata documentation built on Aug. 25, 2020, 10:45 a.m.