add_Rule | R Documentation |
The function adds a new rule to an existing rule book. The specified rule will be appended to the rule book.
add_Rule(book, name, group, type, populations = 1)
book |
character value, name of the rule book to be modified. |
name |
character value, name of the rule to be added. |
group |
character value, group to which the rule belongs. One
out of |
type |
character value, generic type of the rule. One out of
|
populations |
numeric value, number of populations to create. The number of populations to add should match the existing number of populations. |
A list object with all rules for a model run.
Michael Dietze, GFZ Potsdam (Germany), Sebastian Kreutzer, Geography & Earth Sciences, Aberystwyth University (United Kingdom)
## create simple true age-depth-relationship
book_1 <- get_RuleBook()
book_2 <- add_Rule(
book = book_1,
name = "extrarule",
group = "general",
type = "normal",
populations = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.