add_Population {sandbox}R Documentation

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)

Arguments

book

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

populations

numeric value, number of additional populations to create.

Value

A list object with all rules for a model run.

Author(s)

Michael Dietze, GFZ Potsdam (Germany)

Examples


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

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

[Package sandbox version 0.2.1 Index]