Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong answer in ggplot2 practical with geom_tile #35

Open
dnieuw opened this issue May 19, 2021 · 0 comments
Open

Wrong answer in ggplot2 practical with geom_tile #35

dnieuw opened this issue May 19, 2021 · 0 comments

Comments

@dnieuw
Copy link
Collaborator

dnieuw commented May 19, 2021

In each, the following:

x=cut, y=color

...should instead be:

x=cutAgg, y=colorAgg

So, for example, for question 12:

ggplot(mean.price, aes(x=cut, y=color, fill=price)) +
geom_tile() + labs(title="Average prices")

Should instead be:

ggplot(mean.price, aes(x=cutAgg, y=colorAgg, fill=price)) +
geom_tile() +
labs(title="Average prices")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant