strat.hist: Stratified Histograms

View source: R/ch2-fn.R

strat.histR Documentation

Stratified Histograms

Description

To create Stratified Histograms from a mixed data set

Usage

strat.hist(ng = 3, n = 200, m = c(6, 10, 14), s = 1, sp = c(4,
  16), vc, prob = FALSE)

Arguments

ng

Number of classes. Defaults to 3.

n

Number of samples. Defaults to 200.

m

Vector of means. Defaults to c(6,10,14)

s

Standard deviations. Default: 1

sp

Specification limits. Default: c(4, 16)

vc

Colors of histograms.

prob

Density scale? Default: FALSE

Value

None

Examples

strat.hist()
strat.hist(ng=4, m=c(6,10,14,18), sp=c(4,20))

adoocavo/Rstat_M1 documentation built on March 19, 2022, 3:34 a.m.