log_likelihood | R Documentation |
log_likelihood
computes the log likelihood of some parameters.
log_likelihood(x, ...)
## S3 method for class 'params_process'
log_likelihood(x, Y_data, phylo, ...)
## S3 method for class 'PhyloEM'
log_likelihood(x, ...)
x |
an object of class |
... |
for a |
Y_data |
matrix of data at the tips, size p x ntaxa. Each line is a trait, and each column is a tip. The column names are checked against the tip names of the tree. |
phylo |
a phylogenetic tree, class |
The log likelihood of the data with the provided parameters on the tree.
log_likelihood(params_process)
: params_process
object
log_likelihood(PhyloEM)
: PhyloEM
object
params_process
, PhyloEM
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.