brown_tree_prior2: Prior probability for the number of crossing on phylogenetic...

Description Usage Arguments Value

Description

Prior probability for the number of crossing on phylogenetic tree

Usage

1
2
brown_tree_prior2(phy, thed = 0, epsilon, root.prior, up = T,
  nsize = 1000, k = 0)

Arguments

phy

A phylo type object.

thed

the threshold value for Brownian motion threshold model.

epsilon

the radius of the interval for crossing.

root.prior

A numeric vector with two values, which is the mean and variance for the prior distribution (normal) for the root liability.

up

Previous crossing direction. Set as TRUE for defaulted value.

nsize

number of simulations for Monte-Carlo integral

Value

A vector associate with the prior probabililty for the number of upcrossing


MingweiWilliamTang/BMIthreshCount documentation built on May 7, 2019, 4:57 p.m.