add_Population: Add a Population to a Rule Book

View source: R/add_Population.R

add_PopulationR 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)
 

sandbox documentation built on March 18, 2022, 7:06 p.m.