Learn R Programming

trajeR (version 0.9.0.5)

trajeRAIC: AIC function to an trajectory object

Description

Calculate the AIC value to an trajectory object.

Usage

trajeRAIC(sol)

Arguments

sol

Trajectory's object. An object of type trajectory.

Value

A real.

Examples

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

Run the code above in your browser using DataLab