Learn R Programming

gss (version 2.2-8)

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)

Value

A vector of hazard or survival values.

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.

See Also

Fitting function sshzd2d.