Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#Step 3 - Calculate the population mean and plot the observations
#___________________________________________________________________
#Calculate the population mean
mean(data$Wall.Thickness)
#Plot all the observations in the data
hist(data$Wall.Thickness,col = "pink",main = "Histogram for Wall Thickness",xlab = "wall thickness")
abline(v=12.8,col="red",lty=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment