library(ggplot2)
library(tidyverse)
# Generate a normal distribution
normal_dist <- tibble(x = seq(-4, 4, by = 0.01)) %>%
mutate(y = dnorm(x))
# Plot the distribution
ggplot(normal_dist, aes(x = x, y = y)) +
geom_line() +
ggtitle("Standard Normal Distribution") +
xlab("Value") +
ylab("Density")