Learn R Programming

treats (version 1.0)

Trees and Traits Simulations

Description

A modular package for simulating phylogenetic trees and species traits jointly. Trees can be simulated using modular birth-death parameters (e.g. changing starting parameters or algorithm rules). Traits can be simulated in any way designed by the user. The growth of the tree and the traits can influence each other through modifiers objects providing rules for affecting each other. Finally, events can be created to modify both the tree and the traits under specific conditions.

Copy Link

Version

Install

install.packages('treats')

Monthly Downloads

554

Version

1.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Thomas Guillerme

Last Published

November 24th, 2023

Functions in treats (1.0)

treats

Diversity and disparity simulator
map.traits

Maps a trait on a tree
modifiers

Modifiers
print.treats

Prints a treats object.
drop.things

Drop things from a treats object
make.bd.params

Make birth death parameters
make.events

make.events
events.modifications

Events modifications
make.treats

Make a treats object
make.traits

make.traits
events.conditions

events.conditions
dispRitreats

dispRity interface for treats objects
make.modifiers

make.modifiers
crude.bd.est

Crudely estimates extinction and speciation
transition.matrix

Makes a transition matrix
plot.treats

Plot treats objects
trait.process

Trait processes
parent.traits

Get parent traits