color_dens_area: Color area under density function.

Description Usage Arguments

View source: R/color_dens_area.R

Description

Plot a density function (e.g. dnorm) and color a specified area under the curve

Usage

1
2
color_dens_area(density_function, color_area = c(-3, 3),
  range_x = c(-3, 3), fill_col = "steelblue", ...)

Arguments

density_function

The density function to daw. Choose from e.g. http://www.stat.umn.edu/geyer/old/5101/rlook.html

color_area

Area under the density curve to be colored.

range_x

X-Axis range of the plot

fill_col

Color of the specified area

...

additional parameters for the density function


cfbeuchel/CarlHelpR documentation built on Dec. 24, 2019, 8:08 p.m.