subsetVar | R Documentation |
Extracts a grid from a multigrid object. Multimember multigrids are supported. Subroutine of subsetGrid.
subsetVar(grid, var)
var |
Character vector indicating the variables(s) to be extracted |
multiGrid |
Input multigrid to be subset |
drop |
Logical (default is TRUE). Drop or keep dimensions of length 1. |
Argument var
is insensitive to the order of the variables, i.e.: variables
will be always returned in the same order they are in the original multigrid.
An attribute 'subset' with value 'subsetVar' is added to the Variable slot of the output subset.
Either a (multimember)grid or (multimember)multigrid if one ore more variables are selected respectively.
J. Bedia
Other subsetting:
getTemporalIntersection()
,
intersectGrid()
,
intersectGrid.spatial()
,
intersectGrid.time()
,
limitArea()
,
subsetCluster()
,
subsetDimension()
,
subsetGrid()
,
subsetMembers()
,
subsetRuntime()
,
subsetSeason()
,
subsetSpatial()
,
subsetStation()
,
subsetYears()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.