View source: R/trajeRmodelSelection.R
trajeRSH | R Documentation |
Calculate the Slope Heuristic value to a list of trajectory objects.
trajeRSH(l)
l |
List. A list of objects of type trajectory. |
A vector of real.
data = read.csv(system.file("extdata", "CNORM2gr.csv", package = "trajeR")) data = as.matrix(data) degre = list(c(2,2), c(1,1), c(1,2), c(2,1), c(0,0), c(0,1), c(1,0), c(0,0), c(0,2), c(2,0)) sol = list() for (i in 1:10){ sol[[i]] = trajeR(Y = data[, 2:6], A = data[, 7:11], degre = degre[[i]], Model = "CNORM", Method = "EM") } trajeRSH(sol)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.