pou_simulated_data: Simulate Phylogenetic Data

Description Usage Arguments Value

Description

Simulated Realisations of a Phylogenetic Ornstein-Uhlenbeck Process

Usage

1
pou_simulated_data(ln_hyperparameters, phylogenetic_tree, n_samples)

Arguments

ln_hyperparameters

Vector of the natural logarithm of hyperparameters for an Ornstein-Uhlenbeck kernel in order log(phylogenetic noise, phylogenetic length-scale, non-phylogenetic noise)

phylogenetic_tree

Phylogenetic tree of relationships between observations

nsamples

The number of samples to be simulated.

Value

Outputs a matrix of size ntips x nsamples containing nsamples simulations from a given Phylogenetic Ornstein-Uhlenbeck Gaussian Process.


jpmeagher/sdsBAT documentation built on May 5, 2019, 3:50 a.m.