Learn R Programming

diverge (version 2.0.6)

Evolutionary Trait Divergence Between Sister Species and Other Paired Lineages

Description

Compares the fit of alternative models of continuous trait differentiation between sister species and other paired lineages. Differences in trait means between two lineages arise as they diverge from a common ancestor, and alternative processes of evolutionary divergence are expected to leave unique signatures in the distribution of trait differentiation in datasets comprised of many lineage pairs. Models include approximations of divergent selection, drift, and stabilizing selection. A variety of model extensions facilitate the testing of process-to-pattern hypotheses. Users supply trait data and divergence times for each lineage pair. The fit of alternative models is compared in a likelihood framework.

Copy Link

Version

Install

install.packages('diverge')

Monthly Downloads

294

Version

2.0.6

License

GPL (>= 2)

Maintainer

Sean S. Anderson

Last Published

December 15th, 2022

Functions in diverge (2.0.6)

bootstrap_ci

Estimate confidence intervals using bootstrap
model_error_rate

Calculate error rate in model selection
extract_sisters

Extract sister pairs
diverge-package

Evolutionary Trait Divergence Between Sister Species and Other Paired Lineages
model_select

Select the best fit model of trait divergence
model_generator

Generate parameter~gradient linear models
likelihood_func

Functions for negative log likelihood
diverge-data

Example Tree
expected_val

Expected value through time
param_grid

Generate parameter grid
find_mle

Find Maximum Likelihood Estimates
random_walks

Simulate and plot trait evolution through time
re_estimator

Estimate model parameters
simulate_div

Simulate trait divergence