Learn R Programming

ProbBayes (version 1.1)

normal_draw: Draws a Normal Curve

Description

Draws a Normal Curve

Usage

normal_draw(normal_pars, Color = "red")

Arguments

normal_pars

vector of mean and standard deviation of the normal curve

Color

color of line in plot

Value

ggplot2 object containing the graphical display.

Examples

Run this code
# NOT RUN {
  normal_pars <- c(2, 1)
  normal_draw(normal_pars)
# }

Run the code above in your browser using DataLab