getSlot: Accessing RCOX model objects

Description Usage Arguments Author(s) See Also Examples

View source: R/utility4.R View source: R/utility4.R

Description

Accessing RCOX model objects

Usage

1
2
3
4
5
6
7
8
## 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

Author(s)

S<f8>ren H<f8>jsgaard, [email protected]

See Also

rcox

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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")

gRc documentation built on May 29, 2017, 12:33 p.m.

Related to getSlot in gRc...