hzdrate.sshzd {gss} | R Documentation |
Evaluate smoothing spline hazard estimates by sshzd
.
hzdrate.sshzd(object, x, se=FALSE) hzdcurve.sshzd(object, time, covariates=NULL, se=FALSE) survexp.sshzd(object, time, covariates=NULL, start=0)
object |
Object of class "sshzd" . |
x |
Data frame or vector of points on which hazard is to be evaluated. |
se |
Flag indicating if standard errors are required. |
time |
Vector of time points. |
covariates |
Vector of covariate values. |
start |
Optional starting times of the intervals. |
For se=FALSE
, hzdrate.sshzd
returns a vector of hazard
evaluations. For se=TRUE
, hzdrate.sshzd
returns a
list consisting of the following components.
fit |
Vector of hazard evaluations. |
se.fit |
Vector of standard errors for log hazard. |
fit |
Vector or columns of hazard curve(s). |
se.fit |
Vector or columns of standard errors for log hazard curve(s). |
survexp.sshzd
returns a vector of expected survivals, which
are based on the cumulative hazards over the specified intervals.