Learn R Programming

trajeR (version 1.0)

print.Trajectory.POIS: Print Method for a `Trajectory.ZIP` Object

Description

Displays a summary of a zero-inflated Poisson trajectory model fitted by `trajeR`.

Usage

# S3 method for Trajectory.POIS
print(x, ...)

Value

Invisibly returns the original object `x`.

Arguments

x

An object of class `Trajectory.ZIP`.

...

Further arguments passed to or from other methods (not currently used).

Examples

Run this code
data <- read.csv(system.file("extdata", "POIS2gr.csv", package = "trajeR"))
data <- as.matrix(data)
sol <- trajeR(
  Y = data[, 2:6], A = data[, 7:11],
  degre = c(2, 2), Model = "POIS", Method = "L", hessian = FALSE
)
sol

Run the code above in your browser using DataLab