name: Simulation template about: Share your simulation template title: Simulate something labels: simulation template assignees: ''
Insert your brief description here.
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()
## 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)
If you use this template in a publication, please cite:
treats
R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.