Description Usage Arguments Details Value Author(s) See Also Examples
This function computes all possible management scenarios based on existing constraints.
1 2 | scenarios(management=c("grazing", "mowing", "burning", "choppering"),
constraints=import_constraints(), n=20, show.progress=TRUE, filename=NULL)
|
management |
A character vector listing the allowed management practices. |
constraints |
A |
n |
The number of years to simulate. |
show.progress |
A logical value. If TRUE, a progress bar is shown. |
filename |
The name of the text file to export the results (with the extension: .txt). |
If filename is not NULL
, the function will export a text file containing the computed scenarios. The text file will be stored in the working directory. This function uses the write.big.matrix
function of the bigmemory
package to create the text file.
All management scenarios will start with choppering.
Returns a big.matrix
object. Each line is a management scenario. The following convention is used: 0 for no management, 1 for grazing, 2 for mowing, 3 for burning, and 4 for choppering.
Benjamin M. Delory
import_constraints
, write.big.matrix
, getwd
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.