subsetYears: Year 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 'time' dimension, on a yearly basis. Multimember multigrids are supported. Subroutine of subsetGrid.

Usage

1
subsetYears(grid, years)

Arguments

grid

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

years

An integer vector indicating the years to be subset.

Details

An attribute 'subset' with value 'subsetYears' is added to the Dates slot of the output subset.

Value

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

Author(s)

J. Bedia

See Also

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


SantanderMetGroup/transformeR documentation built on March 14, 2020, 9:15 a.m.