Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Consider the code below using the French Fries data in long format
fries_long %>% summarise(rating = mean(rating)).
This code will create a 1 by 1 tibble reporting the mean rating value across all ratings
This will return a value of "NA". We need to include the command na.rm = TRUE to remove the NA values and return a value for the mean
This code will create a 5 by 1 tibble reporting the mean rating values for some of the individual type of ratings (potato, buttery etc), however we need to add na.rm = TRUE to get values for each type of rating
This code will create a 5 by 1 tibble reporting the mean rating values for each individual type of rating (potato, buttery etc)
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!