subsetCluster: Cluster subsets from a multimember grid

View source: R/subsetGrid.R

subsetClusterR Documentation

Cluster subsets from a multimember grid

Description

Retrieves a grid that is a logical subset of a multimember grid along its 'time' dimension based on the cluster index. Multimember multigrids are supported. Subroutine of subsetGrid.

Usage

subsetCluster(grid, cluster)

Arguments

grid

Input multimember grid to be subset (possibly a multimember multigrid). A grid resulting from clusterGrid must be used here, otherwise the function will return an error message

cluster

An integer indicating the cluster to be subset. For Lamb WTs subsetting, see lambWT.

Value

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

Author(s)

J. A. Fernandez

See Also

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


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