Plot the distribution of a variable with a tail shaded. Annotate with the area of the shaded region.

ShadedDensity(
frame,
xvar,
threshold,
title,
...,
tail = "left",
linecolor = "darkgray",
annotate_area = TRUE
)

Arguments

frame data frame to get values from name of the variable to be density plotted boundary value for the tail title to place on plot no unnamed argument, added to force named binding of later arguments. which tail to shade, 'left' (default) or 'right' color of density curve color of shaded region and boundaries if TRUE (default), report the area of the shaded region

ShadedDensityCenter