plot_curve | R Documentation |
This function produces plot showing the raw data and the fittet curves. It saves it to a folder named after the scenario and it produces a pdf containing all the figures.
plot_curve(
raw,
supplycurve_commonY,
supplycurve_indiviY,
infes,
emu_path = "emulator",
fitname = "linear",
create_pdf = TRUE
)
raw |
MAgPIE object containing the same raw data that was used to calculate the fitcoefficients. |
supplycurve_commonY |
MAgPIE object containing the points of the curve (with common y limit) (output of |
supplycurve_indiviY |
MAgPIE object containing the points of the curve (with individual y limit) (output of |
infes |
MAgPIE object containing the modelstatus (optional output of |
emu_path |
Name of the folder the figures and pdf will be saved to. |
fitname |
Name that describes the fit (default: linear) and will be used for naming the output folders. |
create_pdf |
Logical indicating whether a pdf should be produced that compiles all figures. |
David Klein
calc_supplycurve
mute_infes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.