gladder {describedata}R Documentation

Replica of Stata's gladder function

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

gladder(x)

Arguments

x

A continuous numeric vector.

Value

A ggplot object with plots of each transformation

Examples

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


[Package describedata version 0.1.0 Index]