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

Update plotProportions.R #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ignatiusm
Copy link

There have been a couple of changes that meant that the plotProportions function was no longer working. I updated the toMatrix function to handle if objects have multiple classes (e.g. c("data.frame", "tbl_df") ), and also incorporated a change from ggplot (https://ggplot2.tidyverse.org/news/index.html#ggplot2-334) to resolve a warning message.

This change accommodates tibbles  and other objects that inherit from data.frame while ensuring backward compatibility with base R data.frame
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

Successfully merging this pull request may close these issues.

1 participant