Nhats | R Documentation |
Estimation helper function: Returns Nhat for each sample from the WMM (rather than the aggregate value given by the average, this calculates weights and applies the weighted sum to each of the samples)
Nhats(tree)
tree |
A makeTree object |
Returns a vector of root population size estimates from each sample run of the wmmTree function
data(treeData1)
tree <- makeTree(treeData1)
Zhats <- wmmTree(tree, sample_length = 3)
Nhats(tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.