In this exercise you will look at a dataset called cereal.csv. This dataset contains nutrition data on different types of cereal. But instead of just running command and answering questions, you will complete this markdown document. For more details on using R Markdown see http://rmarkdown.rstudio.com.


The dataset is has the following variables:

These datasets have been gathered and cleaned up by Petra Isenberg, Pierre Dragicevic and Yvonne Jansen. The original source can be found here: https://perso.telecom-paristech.fr/eagan/class/igr204/datasets


So letโ€™s get started. First, read the dataset. Type in the cmmand to read the dataset below.


Now go through the list of questions below and answer them one by one. You need to type in the command, run it, and type your answer after the code. You can run your code in this window using the play sign.

  1. How many cereals are there?

Answer:

  1. How many variables do we have about each cereal?

Answer:

  1. How many hot cereals are there?

Answer:

  1. Which manufacturer has the fewest number of cereals in this dataset?

Answer:

  1. What is the average amount of suger in cereals?

Answer:

  1. What is the average amount of fat in cereals?

Answer:

  1. What is the average amount of fat in cereals?

Answer:

  1. What is highes ranked cereal?

Answer:

  1. Which manufacturer makes has the highest ranked cereals?

Answer:

  1. What is the most common percentage of vitamins?

Answer:

  1. On which fator are cereals likely to vary? fat or sugar?

Answer: