summary.frailtyPenal: summary of parameter estimates of a shared frailty model

Description Usage Arguments Value See Also Examples

Description

This function returns hazard rations (HR) and its confidence intervals

Usage

1
2
3
## S3 method for class 'frailtyPenal'
summary(object, level = 0.95, len = 6, d = 2,
lab="hr", ...)

Arguments

object

output from a call to frailtyPenal.

level

significance level of confidence interval. Default is 95%.

len

the total field width. Default is 6.

d

the desired number of digits after the decimal point. Default of 6 digits is used.

lab

label of printed results.

...

other unused arguments.

Value

Prints HR and its confidence intervals. Confidence level is allowed (level argument).

See Also

frailtyPenal

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## Not run: 

data(kidney)

##-- Shared frailty model --##

modSha <- frailtyPenal(Surv(time,status)~age+sex+cluster(id),
n.knots=8,kappa=10000,data=kidney,hazard="Splines")

##-- Cox proportional hazard model --##

modCox <- frailtyPenal(Surv(time,status)~age+sex,
n.knots=8,kappa=10000,data=kidney,hazard="Splines")

#-- confidence interval at 95% level (default)

summary(modSha)
summary(modCox)

#-- confidence interval at 99% level

summary(modSha,level=0.99)
summary(modCox,level=0.99)


## End(Not run)

socale/frailtypack documentation built on June 15, 2021, 3:37 a.m.