Challenge: Summary Statistics and Plotting in R
Use what you've learned so far to complete the following challenge.
We'll cover the following
Darwin’s maize pollination data
Problem statement
Write a piece of code in R that reads Darwin’s data frame from the SMPractical
package and perform the following operations:
- Display the first few rows of Darwin’s data frame.
- Produce a table of the summary statistics (mean and standard deviation).
- Create a boxplot of the data, where the x-axis shows the heights and the y-axis shows the pollination type.
Output
Get hands-on with 1400+ tech skills courses.