Description Usage Arguments Details Value Examples
View source: R/run_model_biotic.R
Run the model
1 2 3 4 5 6 7 8 9 10 11 |
data |
Data.table with input data. |
parameters |
List with all parameters. |
plot_area |
The plot area as |
years |
Numeric timesteps (years) the model runs. |
save_each |
Integer value specifying time step results are saved. |
return_seedlings |
Logical if seeds should be included in final output. |
return_nested |
Logical if TRUE the final tibble is nested. |
return_tibble |
Logical if tibble should be returned |
verbose |
If TRUE, prints progress report. |
Wrapper function to run the model. Executes (i) simulate_ci (ii) simulate_growth
(iii) simulate_seed_dispersal (iv) simulate_mortality. The input data must be
preprocessed using prepare_input
.
Parameters include ....
data.table or tibble
1 2 3 4 5 6 7 8 9 | ## Not run:
data <- prepare_data(data = example_input_data,
x = "x_coord", y = "y_coord", type = "Class", dbh = "bhd")
parameters <- read_parameters(file = "inst/parameters_biotic.txt", sep = ";")
result <- run_model_biotic(data = data, parameters = parameters, years = 10)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.