ladder {describedata}R Documentation

Replica of Stata's ladder function

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

ladder(x)

Arguments

x

A continuous numeric vector.

Value

A data.frame

Examples

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


[Package describedata version 0.1.0 Index]