View source: R/trajeRmodelSelection.R
| trajeRBIC | R Documentation |
Calculates the Bayesian Information Criterion (BIC) for a model fitted by 'trajeR'.
trajeRBIC(sol)
sol |
A trajectory object returned by the 'trajeR' function. |
A numeric value representing the BIC.
data <- read.csv(system.file("extdata", "CNORM2gr.csv", package = "trajeR"))
data <- as.matrix(data)
sol <- trajeR(Y = data[, 2:6], A = data[, 7:11], degre = c(2, 2), Model = "CNORM", Method = "EM")
trajeRBIC(sol)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.