Ano | R Documentation |
This function computes anomalies from a multidimensional data array and a climatology array.
Ano(data, clim, ncores = NULL)
data |
A numeric array with named dimensions, representing the model or observational data to be calculated the anomalies. It should involve all the dimensions in parameter 'clim', and it can have more other dimensions. |
clim |
A numeric array with named dimensions, representing the climatologies to be deducted from parameter 'data'. It can be generated by Clim(). The dimensions should all be involved in parameter 'data' with the same length. |
ncores |
An integer indicating the number of cores to use for parallel computation. The default value is NULL. |
An array with same dimensions as parameter 'data'.
# Load sample data as in Load() example:
example(Load)
clim <- Clim(sampleData$mod, sampleData$obs)
ano_exp <- Ano(sampleData$mod, clim$clim_exp)
ano_obs <- Ano(sampleData$obs, clim$clim_obs)
## Not run:
PlotAno(ano_exp, ano_obs, startDates,
toptitle = 'Anomaly', ytitle = c('K', 'K', 'K'),
legends = 'ERSST', biglab = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.