Skip to contents

Run simulations

The most important functions to setup growR and run simulations.

setup_directory()
Initialize growR directory structure
read_config()
Read simulation run configurations from file
growR_run_loop()
Run growR simulations

Calibration

Routines useful to calibrate model to data.

run_parameter_scan()
Parameter Scan
analyze_parameter_scan()
Analyze results of a parameter scan
plot_parameter_scan()
Plot Parameter Scan Results
parameter_scan_example
Example results of a parameter scan

Analysis

Utilities for analysis of simulated results.

plot(<ModvegeSite>)
Plot ModVege simulation result overview
get_bias() root_mean_squared() mean_absolute_error()
Metric Functions
willmott()
Willmott Index
box_smooth()
Endpoint smoother
load_measured_data() load_data_for_sites() load_matching_data()
Load experimental data
add_lines()
Add data to a ggplot

Behind-the-scene actors

Underlying objects that do the real work. They can also be accessed directly in order to produce more fine-grained results.

Run simulations

ModvegeSite
ModvegeSite
ModvegeEnvironment
growR environment data
ModvegeParameters
Parameter Data Object
WeatherData
Weather Data Object
ManagementData
Management Data Class
FunctionalGroup
Representation of a grassland plant population
FG_A
Functional group A
FG_B
Functional group B
FG_C
Functional group C
FG_D
Functional group D

Calibration

PscanPlotter
Plot Parameter Scan Results
Combinator
Combinator

Debug Tools

Utilities that may be of help if things go wrong.

browse() browse_end()
Debugging utilities
logger()
Primitive logger for debugging.

Other

SEA()
Seasonal effect on growth
aCO2_inverse()
Concentration representative year
append_to_table()
Write *data* to supplied file in append mode without generating a warning message.
atmospheric_CO2()
Atmospheric CO2 concentration
autocut
autocut
build_functional_group()
Build the effective functional group as a weighted linear combination.
check_for_package()
Check if *package* is available
compare.R
Compare simulation results
create_combinations()
Create Valid Combinations
create_example_environment()
Provide an example ModvegeEnvironment
ensure_table_columns()
Check if supplied table contains all *required* variables.
ensure_unique_filename()
Replace given filename by a version that contains an incremental number in order to prevent overwriting existing files.
fCO2_growth_mod()
CO2 growth modifier
fCO2_transpiration_mod()
CO2 transpiration modifier
fPAR()
Radiation limitation
fT()
Temperature limitation
fW()
Water stress
get_annual_gross_yield()
Lookup table returning expected annual gross yields as function of elevation and management intensity.
get_end_of_cutting_season()
Last day of cutting season
get_expected_n_cuts()
Get number of expected cuts
get_relative_cut_contribution()
Relative cut contribution
get_site_name()
Extract the name of a site from a filename
growR_package_options
Default options introduced by package growR
management_parameters
Management practices for Swiss grasslands
make_yearDOY()
Create unique DOY + year identifier
metric_map
List of Performance Metrics
parse_year_strings()
Parse and generate lists of years.
posieux_weather
Example Weather Data
set_growR_verbosity()
Set verbosity of growR output.
yield_parameters
Parameters for expected yields in Switzerland