getOffspringDist {TransPhylo} | R Documentation |
Extract and return offspring distribution of given sampled case(s)
Description
Extract and return offspring distribution of given sampled case(s)
Usage
getOffspringDist(record, burnin = 0.5, k, show.plot = F)
Arguments
record |
MCMC output produced by inferTTree |
burnin |
Proportion of the MCMC output to be discarded as burnin |
k |
Case(s) whose offspring distribution are to be extracted. Either a string matching one of the case names in the data, or a vector of such strings |
show.plot |
Show a barplot of the distribution |
Value
Posterior offspring distribution for the case(s) in k. If length(k)==1 then a vector is returned, otherwise a matrix
[Package TransPhylo version 1.4.5 Index]