# load example datasets
data("egSimPerformance")
data("egSimSummary")
data("egClimData")
plotPerformanceSpaceMulti(performance=egSimPerformance, sim=egSimSummary,
perfThreshMin = c(NA, 0.80), perfThreshMax = c(30, NA))
#replot with axes as percentage changes
plotPerformanceSpaceMulti(performance=egSimPerformance, sim=egSimSummary,
perfThreshMin = c(NA, 0.80), perfThreshMax = c(30, NA),axesPercentLabel=TRUE)
# add alternate climate data and specify different colours for the plot
plotPerformanceSpaceMulti(performance=egSimPerformance, sim=egSimSummary,
perfThreshMin = c(NA, 0.80),perfThreshMax = c(30, NA),
climData = egClimData, col = viridisLite::magma(3))
# example using simple scaled simulations
data("egScalPerformance")
data("egScalSummary")
data("egClimData")
plotPerformanceSpaceMulti(performance=egScalPerformance, sim=egScalSummary,
perfThreshMin = c(NA, 0.80),perfThreshMax = c(30, NA),
climData = egClimData)
# replot with axes as percentage changes (Note: modifies fractional change attributes only)
plotPerformanceSpaceMulti(performance=egScalPerformance, sim=egScalSummary,
perfThreshMin = c(NA, 0.80),perfThreshMax = c(30, NA),
climData = egClimData,axesPercentLabel=TRUE)
Run the code above in your browser using DataLab