subsetMembers: Member subsets from a multimember grid

Description Usage Arguments Details Value Author(s) See Also

View source: R/subsetGrid.R

Description

Retrieves a grid that is a logical subset of a multimember grid along its 'member' dimension. Multimember multigrids are supported. Subroutine of subsetGrid.

Usage

1
subsetMembers(grid, members)

Arguments

grid

Input multimember grid to be subset (possibly a multimember multigrid).

members

An integer vector indicating the position of the members to be subset.

drop

Logical (default is TRUE). Drop or keep dimensions of length 1.

Details

An attribute 'subset' with value 'subsetMembers' is added to the Members slot of the output subset.

Value

A grid (or multigrid) that is a logical subset of the input grid along its 'member' dimension.

Author(s)

J. Bedia

See Also

Other subsetting: getTemporalIntersection, intersectGrid.spatial, intersectGrid.time, intersectGrid, limitArea, subsetCluster, subsetDimension, subsetGrid, subsetRuntime, subsetSeason, subsetSpatial, subsetStation, subsetVar, subsetYears


SantanderMetGroup/transformeR documentation built on April 1, 2020, 5:42 a.m.