histv.formula: Vertically aligned histograms.

histv.formulaR Documentation

Vertically aligned histograms.

Description

histv creates one or more vertically aligned histograms, rendered by hist. This is useful for visual comparison of several numeric vectors.

Usage

## S3 method for class 'formula'
histv(formula, 
    data = NULL, na.action = NULL, 
    drop = FALSE, sep = ".", 
    lex.order = FALSE, 
    xlab = NULL, ..., 
    debug = FALSE)

Arguments

formula

formula

data

used in case a formula interface is used

na.action
drop

passed to split.default in case a formula interface is used

sep

passed to split.default in case a formula interface is used

lex.order

passed to split.default in case a formula interface is used

xlab

xlab(s) of the individual histograms. If a character vector is suplied, it will be used to define the title of individual histograms, recycled if necessary.

...

histv-specific arguments, see histv

debug

if TRUE, debugs will be printed. If numeric of value greater than 1, verbose debugs will be produced.

Author(s)

Tomas Sieger

Examples

histv(Sepal.Length~Species,iris)

tsieger/tsiMisc documentation built on Oct. 10, 2023, 10:24 p.m.