fn.vars.required: Finds Variables Required on Functions

Description Usage Arguments Value Author(s) Examples

View source: R/VarsRequired.R

Description

Tries to find the variables to be calculated through the parameters of the functions.

Usage

1
fn.vars.required(my.functions, ...)

Arguments

my.functions

A list of functions to be used during the simulation

...

Use this to add any funciton that might not be included in my.functions

Value

It returns a vector with the name of the potential variables required.

Author(s)

Clara Anton Fernandez [email protected]

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
fn.vars.required (my.functions = list(
                             fn.growth     = "grow.dbhinc.hgtinc",
                             fn.dbh.inc    = "dbhi.BN2009",
                             fn.hgt.inc    = "height.korf", 
                             fn.mort       = "mort.B2007",
                             fn.recr       = "recr.BBG2008",
                             fn.management = "management.prob",
                             fn.tree.removal = "mng.tree.removal",
                             fn.modif      = NULL, 
                             fn.prep.common.vars = "prep.common.vars.fun"
                           ),
                      "BBG2008")

sitree documentation built on July 5, 2017, 9:02 a.m.