Skip to content

Instantly share code, notes, and snippets.

@Harshit1694
Last active May 3, 2019 07:23
Show Gist options
  • Save Harshit1694/86ac76c70fa00e5d1f180990f4ce0167 to your computer and use it in GitHub Desktop.
Save Harshit1694/86ac76c70fa00e5d1f180990f4ce0167 to your computer and use it in GitHub Desktop.
#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