liks | R Documentation |
Calculate the log-likelihoods of all possible models
liks(rcm, Sum = TRUE)
rcm |
an object of the RCM class |
Sum |
a boolean, should log-likelihoods be summed? |
If Sum is FALSE, a named array log-likelihoods of the independence model and all models with dimension 1 to k, including after filtering on confounders. Otherwise a table with log-likelihoods, deviance explained and cumulative deviance explained.
data(Zeller)
require(phyloseq)
tmpPhy = prune_taxa(taxa_names(Zeller)[1:100],
prune_samples(sample_names(Zeller)[1:50], Zeller))
zellerRCM = RCM(tmpPhy, round = TRUE)
liks(zellerRCM)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.