SimulateTipData: Simulate data on a network

Description Usage Arguments Details Value Author(s) References Examples

Description

Simulate data on a network given its flow parameters

Usage

1
2
	SimulateTipData(phy, flow, params, suffix="_DUPLICATE")
	

Arguments

phy

phylo object

flow

data.frame of the flow parameters

params

named vector of BMhyd parameter values

suffix

taxa are duplicated on the network; this suffix distinguishes them

Details

This function simulates tip data on a network, under a BMhyd model.

Value

a named vector of tip values

Author(s)

Brian O'Meara, Dwueng-Chwuan Jhwueng.

References

Jhwueng D.C. and O'Meara B.C. 2015. Trait evolution on phylogenetic networks. Submitted.

Examples

1
2
3
#add example later. Perhaps using cichlid

	

BMhyd documentation built on May 2, 2019, 8:27 a.m.

Related to SimulateTipData in BMhyd...