showmaps | R Documentation |
as.annual
and annual
aggregates time series into annual values (e.g. means).
showmaps(
x,
FUN = "mean",
colbar = list(pal = "bwr", show = FALSE),
nnum = 11,
...
)
x |
a 'field' object |
FUN |
a function, see |
colbar |
is a list - see |
nnum |
how many numbers to be shown along the colour bar |
as.monthly
aggregates time series into monthly values (e.g. means).
as.daily
aggregates time series into daily values (e.g. means).
showmaps
presents a montage of two maps with stereographic projections, one for the northa nd one for the south.
list with map output
map
t2m <- t2m.NCEP()
period <- paste(range(year(t2m)),collapse=' - ')
attr(t2m,'sub') <- paste0('Average over: ',period,'; source: NCEP')
showmaps(t2m,FUN='mean',colbar=list(breaks=seq(-60,20,by=5),show=FALSE))
attr(t2m,'sub') <- paste0('Variability (stdv) over: ',period,'; source: NCEP')
showmaps(t2m,FUN='sd')
attr(t2m,'sub') <- paste0('Trend over: ',period,'; source: NCEP')
showmaps(t2m,FUN='trend',colbar=list(breaks=seq(-1,1,by=0.1),show=FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.