.github/ISSUE_TEMPLATE/simulation-template.md

name: Simulation template about: Share your simulation template title: Simulate something labels: simulation template assignees: ''

My simulation

Insert your brief description here.

What does it do?

What function does it uses? | yes/no | comments ----------------------|----|-------- Uses make.bd.params | ✅ | Uses make.traits | ✅ | Uses make.modifications | ✅ | Uses make.events | ✅ |

bd.params

Describe the customised bd.params object

my_bd.params <- make.bd.params()

traits

Describe the customised traits object

my_traits <- make.traits()

modifier

Describe the customised modifier object

my_modifiers <- make.modifiers()

events

Describe the customised events object

my_events <- make.events()

A running example

## My favorite seed
set.seed(42)

## Some stopping rules
my_stop.rule <- list(max.taxa = 50, max.living = 50, max.time = 5)

## The simulation
my_simulation <- treats(stop.rule = my_stop.rule,
                        bd.params = my_bd.params,
                        traits    = my_traits,
                        modifiers = my_modifiers,
                        events    = my_events)

plot(my_simulation)

Reference

If you use this template in a publication, please cite:



TGuillerme/dads documentation built on July 16, 2025, 9:14 p.m.