Learn R Programming

ATNr (version 1.1.0)

remove_species: Function to remove species from a model class

Description

Function to remove species from a model class

Usage

remove_species(species, model, nuts = NULL)

Value

A model object where the data structure has bee updated to remove the species in parameters.

Arguments

species

integer vector, the indices of species to remove.

model

model object

nuts

integer vector, the indices of nutrients to remove. Parameter specific to the Unscaled_nuts model.