plot_distributions: Plot the four distributions functions.

View source: R/plot_distributions.R

plot_distributionsR Documentation

Plot the four distributions functions.

Description

Plot the four distributions functions.

Usage

plot_distributions(
  dist,
  xvals,
  xmin,
  xmax,
  args = list(),
  palette = c(d = "#1b9e77", r = "#d95f02", p = "#7570b3", q = "#e7298a")
)

Arguments

dist

name of the distribution function to plot (e.g. norm, t).

xvals

inputs to dist function.

xmin

minimum x-axis value to plot.

xmax

maximum x-axis value to plot.

args

parameters to pass to dist.

palette

colors to use for the four subplots. Must be a named vector with d, r, p, and q.


jbryer/VisualStats documentation built on Feb. 27, 2025, 6:19 p.m.