distribution_plot: Plots a distribution

View source: R/distribution_plots.R

distribution_plotR Documentation

Plots a distribution

Description

Plots a distribution

Usage

distribution_plot(
  fun,
  cv,
  tails = c("no", "two.sided", "less", "greater"),
  limits,
  color = "steelblue",
  ...
)

Arguments

fun

the density function (e.g. dnorm)

cv

the critical value(s) to shade.

limits

the limits of the plot.

color

the color to fill in the area.

...

other parameters passed to fun.


jbryer/DATA606 documentation built on Feb. 17, 2024, 4:13 a.m.