View source: R/diagnostic_plots.R
diagnostic_plots | R Documentation |
Function to generate diagnostic plots to compare the agprodchange and agyield for the different climate projections, for the specified crops and irrigation.
diagnostic_plots(
hot_ssp3_apc = NULL,
hot_ssp5_apc = NULL,
cold_ssp3_apc = NULL,
cold_ssp5_apc = NULL,
reference_apc = NULL,
agyield = NULL,
iso_GCAM_basin_mapping = NULL,
write_dir = "diagnostic_plots"
)
hot_ssp3_apc |
Default = NULL. Path to hot_ssp3 agprodchange csv file. |
hot_ssp5_apc |
Default = NULL. Path to hot_ssp3 agprodchange csv file. |
cold_ssp3_apc |
Default = NULL. Path to hot_ssp3 agprodchange csv file. |
cold_ssp5_apc |
Default = NULL. Path to hot_ssp3 agprodchange csv file. |
reference_apc |
Default = NULL. Path to hot_ssp3 agprodchange csv file. |
agyield |
Default = NULL. Path to agyield gcamdata file L101.ag_Yield_kgm2_R_C_Y_GLU.csv. The 2015 ag yield value is extracted from this file. |
iso_GCAM_basin_mapping |
Default = NULL. Path to mapping file of GCAM basin id, GLU, ISO. |
write_dir |
Default = "diagnostic_plots". Output folder for plots. |
number
## Not run:
library(osiris)
osiris::diagnostic_plots()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.