summary.trans {changeLOS}R Documentation

Summary method for objects of class 'trans'

Description

Summary method for objects of class trans.

Usage

## S3 method for class 'trans':
summary(object, ...)

Arguments

object An object of class trans.
... other arguments

Value

A list is returned by the function summary.trans with the following elements:

nrtransitions: a matrix with
column 1
the state from where a transition occurs
column 2
the state to which a transition occurs
column 3
the number of transitions
state.names: vector with the names of the states
times the transition times
nr.before matrix with the number in each state just before the transition times

Author(s)

Matthias Wangler mw@imbi.uni-freiburg.de

Examples

data(los.data)
my.observ <- prepare.los.data(x=los.data)
my.model <- msmodel(c("0","1","2","3"),cens.name="cens")
my.trans <- trans(model=my.model,observ=my.observ)
summary(my.trans)

[Package changeLOS version 2.0.9-2 Index]