Learn R Programming

gsscopu (version 0.9-3)

hzdrate.sshzd2d: Evaluating 2-D Smoothing Spline Hazard Estimates

Description

Evaluate 2-D smoothing spline hazard estimates by sshzd2d.

Usage

hzdrate.sshzd2d(object, time, covariates=NULL) survexp.sshzd2d(object, time, covariates=NULL, job=3)

Arguments

object
Object of class "sshzd2d".
time
Matrix or vector of time points on which hazard or survival function is to be evaluated.
covariates
Data frame of covariate values.
job
Flag indicating which survival function to evaluate.

Value

A vector of hazard or survival values.

See Also

Fitting function sshzd2d.