ladder: Replica of Stata's ladder function

View source: R/ladder.R

ladderR 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)


craigjmcgowan/helpR documentation built on Jan. 14, 2025, 5:25 a.m.