swCarbon-class: Class '"swCarbon"'

swCarbon-classR Documentation

Class "swCarbon"

Description

Class swCarbon defines variables that allow SOILWAT2 to simulate the effects of atmospheric carbon dioxide.

Usage

swCarbon(...)

## S4 method for signature 'swCarbon'
get_swCarbon(object)

## S4 method for signature 'swCarbon'
swCarbon_Use_Bio(object)

## S4 method for signature 'swCarbon'
swCarbon_Use_WUE(object)

## S4 method for signature 'swCarbon'
swCarbon_Scenario(object)

## S4 method for signature 'swCarbon'
swCarbon_DeltaYear(object)

## S4 method for signature 'swCarbon'
swCarbon_CO2ppm(object)

## S4 replacement method for signature 'swCarbon'
set_swCarbon(object) <- value

## S4 replacement method for signature 'swCarbon'
swCarbon_Use_Bio(object) <- value

## S4 replacement method for signature 'swCarbon'
swCarbon_Use_WUE(object) <- value

## S4 replacement method for signature 'swCarbon'
swCarbon_Scenario(object) <- value

## S4 replacement method for signature 'swCarbon'
swCarbon_DeltaYear(object) <- value

## S4 replacement method for signature 'swCarbon'
swCarbon_CO2ppm(object) <- value

Arguments

...

Arguments to the helper constructor function. Dots can either contain objects to copy into slots of that class (must be named identical to the corresponding slot) or be one object of that class (in which case it will be copied and any missing slots will take their default values). If dots are missing, then corresponding values of rSOILWAT2::sw_exampleData (i.e., the SOILWAT2 "testing" defaults) are copied.

object

An object of class swCarbon.

value

A value to assign to a specific slot of the object.

Slots

CarbonUseBio

Object of class "integer", where a value of 1 enables the CO2 biomass multiplier.

CarbonUseWUE

Object of class "integer", where a value of 1 enables the CO2 water-use efficiency WUE multiplier.

Scenario

Object of class "character", that represents the name of the scenario that is being simulated. This slot is not used in rSOILWAT2, but it's useful to see what scenario was used in the SOILWAT2 input object.

DeltaYear

Object of class "integer", that represents the number of years in the future that this simulation is being run.

CO2ppm

Object of class "matrix", that holds years in the first column and CO2 ppm concentrations in the second column.

See Also

swInputData

Examples

showClass("swCarbon")
x <- new("swCarbon")
x <- swCarbon()


Burke-Lauenroth-Lab/Rsoilwat documentation built on Dec. 9, 2023, 12:41 a.m.