build_ribbons: Build geom_ribbon objects for plotting a continuous...

View source: R/norm_density_plot.R

build_ribbonsR Documentation

Build geom_ribbon objects for plotting a continuous distribution function

Description

Build geom_ribbon objects for plotting a continuous distribution function

Usage

build_ribbons(
  ribbon_dat,
  fill_lower = rgb(0, 0.3, 0.8, 0.25),
  fill_middle = rgb(0, 0, 0, 0),
  fill_upper = rgb(0, 0.3, 0.8, 0.25),
  col_lower = "black",
  col_middle = "black",
  col_upper = "black"
)

Arguments

ribbon_dat

data from which to beuld the ribbons

fill_lower

fill color for the lower tail

fill_middle

fill color for the non-tail part of the pdf

fill_upper

fill color for the upper tail

col_lower

border color for the lower tail

col_middle

border color for the non-tail part

col_upper

border color for the upper tail


michaelfrancenelson/mfn.teaching.utils documentation built on Oct. 7, 2022, 1:13 a.m.