csci297b Exercise 11 stats (Solution)

$ 24.99
Category:

Description

For this project, use the tidyverse library, which includes the mpg dataset.
For this project, you will turn in a single R markdown file, called exercise10.Rmd
1. What does geom_col() do? How is it different from geom_bar()?
2. What variables does stat_smooth() compute? What arguments control its behavior?
3. In our proportion bar chart, we need to set group = 1. Why? In other words, what is the problem with these two graphs?
ggplot(diamonds, aes(x = cut, y = after_stat(prop))) +
geom_bar()
ggplot(diamonds, aes(x = cut, fill = color, y = after_stat(prop))) +
geom_bar()
1

Reviews

There are no reviews yet.

Be the first to review “csci297b Exercise 11 stats (Solution)”

Your email address will not be published. Required fields are marked *