Learn R Programming

bayesrules (version 0.0.2)

plot_normal: Plot a Normal Model for \(\mu\)

Description

Plots the probability density function (pdf) for a Normal(mean, sd^2) model of variable \(\mu\).

Usage

plot_normal(mean, sd)

Arguments

mean

mean parameter of the Normal model

sd

standard deviation parameter of the Normal model

Value

a ggplot

Examples

Run this code
# NOT RUN {
plot_normal(mean = 3.5, sd = 0.5)
# }

Run the code above in your browser using DataLab