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)

describedata documentation built on Aug. 2, 2019, 5:05 p.m.