subset.dsensemble | R Documentation |
The subset method tries to be 'intelligent', and if the list has no names,
then the list contains two vectors of length 2, then this is interpreted as
a region, e.g. argument is = list(
c(lon.min,lon.max),c(lat.min,lat.max) )
. If, on the other hand, is =
list( lon=1:50,lat=55:65 )
, then the function picks the longitudes and
latitudes which match these. This makes it flexible so that one can pick any
irregular sequence.
## S3 method for class 'dsensemble'
subset(
x,
...,
it = NULL,
is = NULL,
ip = NULL,
im = NULL,
ensemble.aggregate = TRUE,
verbose = FALSE
)
x |
'dsensemble' object (output of |
... |
additional arguments |
it |
A list or data.frame providing time index, e.g. a range of years like c(1979,2010), a season ('djf'), or a month ('dec' or 'december'). |
is |
a list or data.frame providing a space index, e.g., station record or a lon(gitude) and lat(itude) range. If NULL include all. |
ip |
a numerical or numerical vector with indices of the principle components to be included. If NULL include all. |
im |
a numerical or numerical vector with indices of the ensemble members to be included. If NULL include all. |
ensemble.aggregate |
If TRUE, call |
verbose |
If TRUE, print out diagnosics |
An object of the same class as the input object
R.E. Benestad, A. Mezghani and K. Parding
matchdate sort.station
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.