subsetMembers: Member subsets from a multimember grid

View source: R/subsetGrid.R

subsetMembersR Documentation

Member subsets from a multimember grid

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

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(), intersectGrid.spatial(), intersectGrid.time(), limitArea(), subsetCluster(), subsetDimension(), subsetGrid(), subsetRuntime(), subsetSeason(), subsetSpatial(), subsetStation(), subsetVar(), subsetYears()


SantanderMetGroup/transformeR documentation built on Nov. 25, 2024, 1:25 p.m.