Description Usage Arguments Value Examples
View source: R/plotZonalMeanStats.R
This function plots results from zonalMeanStats, i.e. zonal mean values of model and reference data and the zonal mean bias, centralized root-mean-square error, phase, inter-annual variability, and corresponding scores.
1 2 | plotZonalMeanStats(zonalMeanStats, zonalMeanStatsUnits,
lat.range = c(-50, 80), outputDir = FALSE)
|
zonalMeanStats |
A string that gives the name and location of the zonalMeanStats file produced by zonalMeanStats, e.g. '/home/project/study/zonalMeanStats'. |
zonalMeanStatsUnits |
A string that gives the name and location of the zonalMeanStatsUnits file produced by zonalMeanStats, e.g. '/home/project/study/zonalMeanStatsUnits'. |
lat.range |
Latitudinal range of ticks and labels on the horizontal axis, e.g. c(-50, 80). |
outputDir |
A string that gives the output directory, e.g. '/home/project/study'. The output will only be written if the user specifies an output directory. |
Figures that show zonal mean values of model and reference data, centralized root-mean-square error, phase, inter-annual variability, and corresponding scores for each variable and globally gridded reference data set.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | library(amber)
library(classInt)
library(doParallel)
library(foreach)
library(Hmisc)
library(latex2exp)
library(ncdf4)
library(parallel)
library(raster)
library(rgdal)
library(rgeos)
library(scico)
library(sp)
library(stats)
library(utils)
library(viridis)
library(xtable)
zonalMeanStats <- system.file('extdata/zonalMeanStats', 'zonalMeanStats', package = 'amber')
zonalMeanStatsUnits <- system.file('extdata/zonalMeanStats',
'zonalMeanStatsUnits', package = 'amber')
plotZonalMeanStats(zonalMeanStats, zonalMeanStatsUnits, outputDir = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.