densplot: densplot

View source: R/Functions_plotting_genericData.R

densplotR Documentation

densplot

Description

generate a density plot for numeric data.

Usage

densplot(
  densin = stats::rnorm(100),
  perc = c(0.01, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.95, 0.99),
  ...
)

Arguments

densin

numeric vector or matrix

perc

numeric(): draw lines at these quantiles

...

arguments passed to plot()

Details

To accomodate logarithmized data, Inf values will be set to 1.1*largest value that is not Inf -Inf values will be set to 0.9*smallest value that is not -Inf

Value

sends a density plot to the current plotting device


mjhelf/Mosaic documentation built on April 28, 2022, 11:32 a.m.