gladder: Replica of Stata's gladder function

View source: R/ladder.R

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


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