gladder: Replica of Stata's gladder function

Description Usage Arguments Value Examples

View source: R/ladder.R

Description

Creates ladder-of-powers histograms to visualize nine common transformations and compare each to a normal distribution. The following transformations are included: identity, cubic, square, square root, natural logarithm, inverse square root, inverse, inverse square, and inverse cubic.

Usage

1

Arguments

x

A continuous numeric vector.

Value

A ggplot object with plots of each transformation

Examples

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

craigjmcgowan/describedata documentation built on Aug. 25, 2020, 10:45 a.m.