Recent Releases of croplotr
croplotr - v0.10.0
Minor improvements and bug fixes
- Character vectors in simulated results no more mess up dynamic graphs
- Filtered zeros in obs/sim vectors when they are used as denominator in stat. criteria (=> MAPE and RME no more take Inf values)
- An error is now detected when plots of unknown variables are requested
- Added tests to automatically compare generated graphs with reference ones
- Fixed a few other bugs (missing regression line for scatter plots in some cases, number of labels for shape_sit="txt", ...)
Misc.
- Changed license to LGPL
- R
Published by sbuis almost 2 years ago
croplotr - v0.9.0
New features
- Added the possibility to plot residuals of variables in function of residuals of other variables
Minor improvements and bug fixes
Fixed warnings generated by last version of ggplot2 due to existing fields provided in aes but that are not actually used (#10).
Fixed a bug in plot that occurred when trying to plot several versions of simulated results and without intercrop situations.
Fixed cff file generation using github action. Now generated on each commit that modifies the Description file + on release.
Minor changes to clean the code following CRAN checks procedure application.
- R
Published by sbuis about 3 years ago
croplotr - v0.8.0
v0.8.0 includes a lot of changes:
- Update functions names to be homogeneous across SticsRPacks
- Add a method for
[for cropr_simulation, i.e. we can now index the output of plots using[ - Deprecate
bind_rows_simforbind_rows - Fix issue in scatter plot with
all_situations = FALSEto get the situation name as hover in plotly - More documentation
- Compatibility with R >= 4.0.0 + making sure it still works with 3.6.0 <= R < 4.0.0
- Fix issue in
format_cropr - Fix issue where points and lines were drawn twice
- Fix issue where points were not colored properly
- Fix issue when overlapping (not grouped properly)
- Fix issue where lines were not colored properly
- Fix issue for plots with residuals + custom x variable
- Fix issue with several versions but only one has common values btw obs and sim
Internals:
- Add golden tests (using
{vdiffr}) - Remove SticsRPacks dependency for tests
- Using third edition of testthat
- Format the code using
{styler}and{goodpractice} - Simplify a lot
cat_situationsand make it faaaast - Use the
.idinbind_rowsif provided - Improved computation of
LCSto remove a warning
- R
Published by VEZY over 3 years ago
croplotr - CroPlotR 0.7.0
- Add
bind_rows_simandsplit_df2simhelper functions to either bind a list of simulations into a singledata.frameor to split it back. Works also on observations. summarycan now be grouped by crops. Useful for cases where we have different usms with different crops, and for intercropping.- Rename plot saving functions: plotsave -> saveplotpng & saveplot -> saveplotpdf
- Fix a bug in the legend when plotting two versions in sole crop without observations (only one legend instead of two). See #8039.
- Graphs of residues are no longer plotted with square axes
- Fix an issue on
extract_plotfor residues plots - Update documentation
- Several little fixes: added quotes on situation to remove a warning,
- R
Published by VEZY almost 5 years ago
croplotr - 0.6.0
- All crop models wrapped with CroptimizR can now automatically use CroPlotR.
For that, the sim_list element of the variable returned by the wrapper must have the attribute cropr_simulation, please refer to the guidelines for implementing a crop model R wrapper for CroptimizR for more details.
some bugs fixed (coloring for model comparison and overlapping variables, absence of Plant columns in obs and/or sim, ...)
license changed to CeCILL-C
- R
Published by VEZY about 5 years ago
croplotr - 0.5.0
new argument to summarize over all situations (
all_situations)better manage situations for dynamic plots, scatter plots and statistics
variable selection at each step
plot extraction with
extract_plot()stacked summary plot with the different stats
Radar chart for statistics
- R
Published by VEZY over 5 years ago
croplotr - First alpha release
The package can:
- plot simulations and observations using the plot() function, as a dynamic or scatter plot with the argument "type".
- compute statistics using the summary() function, and plot the results using plot() again
- save the plots using plot_save()
- R
Published by VEZY almost 6 years ago