vis.Hist: vis.Hist

View source: R/vis.r

vis.HistR Documentation

vis.Hist

Description

A nice histogram of a single variable with an additional Cumulative Density curve.

Usage

vis.Hist(inVector, ecdf = T, ...)

Arguments

inVector

The vector of numbers to plot

ecdf

Boolean for the addition of the red line of the Cumulative Density at the right of the histogram plot

...

Additional arguments to be passed to the 'hist' command of the base histogram.

Value

A nice histogram of a single variable with an additional Cumulative Density curve.

Author(s)

Dimitris Kavroudakis dimitris123@gmail.com

See Also

Other vis: vis.BarPlot()

Examples

library(goal)

set.seed(1821)
myNumbers = rnorm(500, 130, 10)
vis.Hist(myNumbers, freq=FALSE, main="This is the main title", xlab="X axis title")


dimitrisk/goal documentation built on April 30, 2024, 7:21 p.m.