Learn R Programming

sandbox (version 0.2.2)

add_Population: Add a Population to a Rule Book

Description

The function adds a further population element to all rules or a rule book.

Usage

add_Population(book, populations = 1)

Value

A list object with all rules for a model run.

Arguments

book

character value, name of the rule book to be modified.

populations

numeric value, number of additional populations to create.

Author

Michael Dietze, GFZ Potsdam (Germany)

Examples

Run this code

## create simple true age-depth-relationship
book_1 <- get_RuleBook()

book_2 <- add_Population(
 book = book_1,
 populations = 1)
 

Run the code above in your browser using DataLab