Learn R Programming

osmose (version 0.1.1)

getVar: Get variable

Description

Function to get a variable from an object of osmose class. This function uses the getVar method (see the getVar.osmose).

Usage

getVar(object, var, ...)

Arguments

object

Object of osmose class (see the read_osmose function).

var

Name of variable to extract. It could be: "biomass","abundance", "yield", "yieldN".

...

Additional arguments of the function.

Value

An array or a list containing the extracted data.