plot_density: Quick plot of density distribution

View source: R/main.R

plot_densityR Documentation

Quick plot of density distribution

Description

Produces simple plot of probability density for the main families of distributions, including normal, lognormal, gamma and inverse-gamma.

Usage

plot_density(dist, qrange = c(0.01, 0.99), ...)

Arguments

dist

the name of the distribution family. For exapmle "norm" can be used to explore the dnorm() density.

qrange

the quantile range over which to plot.

...

further parameters to the distribution function.


bobverity/bobfunctions2 documentation built on July 4, 2023, 8:55 p.m.