fn.vars.required {sitree}R Documentation

Finds Variables Required on Functions

Description

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

Usage

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 caf@nibio.no

Examples

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")


[Package sitree version 0.1-14 Index]