5 New mizer Plotting functions#68
Open
lucabroadbent wants to merge 5 commits intosizespectrum:masterfrom
Open
Conversation
…lotSpeciesWithTimeRange and yieldplottingfunctions
…' field in DESCRIPTION
R/guildplot.R
Outdated
| #' | ||
| #' | ||
| #' @examples | ||
| #' harvested <- getBiomass(NS_sim) |
Member
There was a problem hiding this comment.
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
Member
There was a problem hiding this comment.
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.
Author
There was a problem hiding this comment.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)