plot_logLik | R Documentation |
Plot Log-Likelihood function of the model
plot_logLik(x, sets, ...)
## S3 method for class 'aphylo'
plot_logLik(x, sets, ...)
## S3 method for class 'formula'
plot_logLik(x, sets, ...)
## S3 method for class 'aphylo_estimates'
plot_logLik(x, sets, ...)
x |
An object of class |
sets |
(optional) Character matrix of size |
... |
Aditional parameters to be passed to |
NULL (invisible). Generates a plot of the loglikelihood of the model.
# Loading data
data(fakeexperiment)
data(faketree)
O <- new_aphylo(fakeexperiment[,2:3], tree = as.phylo(faketree))
# Baseline plot (all parameters but Pi)
plot_logLik(O)
# No psi parameter
plot_logLik(O ~ mu_d + Pi + eta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.