Skip to contents

Plot a normal distribution shading below x

Usage

plotnorm(
  x = 0,
  mu = 0,
  sigma = 1,
  below = TRUE,
  show_proportion = TRUE,
  show_x = TRUE,
  show_param = TRUE,
  text_size = 14,
  font_family = "sans",
  shade_fill = "royalblue"
)

Arguments

x

number to divide normal distribution

mu

mean of normal distribution

sigma

standard deviation of normal distribution

below

If TRUE, shade lower portion of normal distribution

show_proportion

If TRUE, display proportions

show_x

If TRUE, display x value

show_param

If TRUE, display mean and standard deviation

text_size

Base text size

font_family

Name of font

shade_fill

Color of shaded region

Examples

plotnorm(90, 100, 15)