Learn R Programming

gRc (version 0.4-3.2)

getSlot: Accessing RCOX model objects

Description

Accessing RCOX model objects

Usage

## Accessor functions
getSlot(object,slot)
fitInfo(object,slot)
intRep(object,slot)
dataRep(object,slot)
getecc(object)
getvcc(object)
getedges(object, complement=FALSE)

Arguments

object

An RCOX model object.

slot

A name of a slot.

complement

If FALSE, the edges of the model is returned. If TRUE, the edges not in the model is returned

See Also

rcox

Examples

Run this code
# NOT RUN {
data(math)
gm  = ~al:an:st
vcc = list(~me+st, ~ve+an, ~al)
ecc = list(~me:ve+me:al, ~ve:al+al:st)

m1 <- rcox(gm=gm, vcc=vcc, ecc=ecc, data=math)
getecc(m1)

getSlot(m1,"type")
fitInfo(m1)
fitInfo(m1,"K")

# }

Run the code above in your browser using DataLab