## The dataset email is not a random sample. Nonetheless, we will
## treat it as if it is a random sampling of emails from a random
## sample of gmail users. You can find the CSV of the dataset at the
## following link:
## https://raw.githubusercontent.com/roualdes/data/master/email.csv
## You can find a README of the dataset at the following link:
## https://github.com/roualdes/data/blob/master/email.txt
## Read in the dataset using the funciton read.csv.
## Make an appropriate ggplot2 plot of the variable spam. Name
## your plot p.
## Assume the spam measurements come from a Normal distribution
## and use the likelihood method together with optim to estimate the
## population proportion (mean) of emails that are spam.
## Add this estimate to your plot p.
## Write a complete English sentence describing this estimate.
## Using the bootstrap method, calculate an 80% confidence interval
## for the population proportion of emails that are spam.
## Add this confidence interval to your plot p.
## Write a complete English sentence describing this confidence
## interval.