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

5 New mizer Plotting functions #68

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

Conversation

lucabroadbent
Copy link

Added new plotting functions, such as
comparedietmatrix (plots a matrix of the change in contribution in each species diet of all other species between 2 mizerSim objects),
guildplot (plots the change in guilds between two mizerSim objects over 3 timeranges),
plotSpeciesWithTimeRange (plots the change in biomass of each species between two mizerSim objects over 3 timeranges)
and yieldplottingfunctions (plots pie charts of the yield of two different mizerSim objects, 3 types of plot which details total yield composition, species composition, and species composition within given yields)

Luca Broadbent and others added 2 commits October 20, 2024 17:34
R/guildplot.R Outdated
#'
#'
#' @examples
#' harvested <- getBiomass(NS_sim)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this example you are calling guildplot() with a biomass arrays. but in the function body it seems you want it to be called with MizerSim objects

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Luca. Thank you very much for your pull request. To make it easier for me to review this, please add working examples for all plotting functions.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Gustav, I've changed the examples now so they should work. Let me know if there anything else I can do.

Added proper example function.
Added proper example function
Added proper example functions
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.

2 participants