summary.trans {changeLOS}R Documentation

Summary method for objects of class 'trans'

Description

Summary method for objects of class trans.

Usage

summary.trans(object, ...)

print.summary.trans(x, ...)

Arguments

object An object of class trans.
x An object of class summary.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
nr.start numeric vector of the initial distribution in the states

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 1.1.3 Index]