reduce: reduce helper function to reduce data

View source: R/retro.R

reduceR Documentation

reduce helper function to reduce data

Description

reduce helper function to reduce data

Usage

reduce(data, year = NULL, fleet = NULL, age = NULL, conf = NULL)

Arguments

data

a data object as returned by the function setup.ccam.data

year

a vector of years to be excluded.

fleet

a vector of fleets to be excluded.

age

a vector of ages fleets to be excluded.

conf

an optional corresponding configuration to be modified along with the data change. Modified is returned as attribute "conf"

Details

When more than one vector is supplied they need to be of same length, as only the pairs are excluded


elisvb/CCAM documentation built on March 13, 2023, 6:55 a.m.