Learn R Programming

trajeR (version 0.9.0.5)

trajeRSH: SH function to an trajectory object

Description

Calculate the Slope Heuristic value to a list of trajectory objects.

Usage

trajeRSH(l)

Arguments

l

List. A list of objects of type trajectory.

Value

A vector of real.

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab