Description Usage Arguments Value
Calculate the log likelihood for data
1 | loglike_all_clusts(par, n_vec, n_pos_vec, sampled_trees, return_neg = FALSE)
|
par |
vector of parameters "beta_0" and "beta_1" |
sampled_trees |
output from |
return_neg |
If TRUE, return the negative log like. |
n |
number in cluster |
n_pos |
number of positive smears |
likelihood of 'average' of cluster with given n and n_pos (single number)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.