Learn R Programming

kernhaz (version 0.1.0)

plot.khazardcond: Plot of kernel conditional hazard estimate from an object of class khazardcond

Description

Plot of kernel conditional hazard estimate from an object of class khazardcond

Usage

# S3 method for khazardcond
plot(x, type = "persp", zlim, xlab, ylab, zlab,
  main, ...)

Arguments

x

Object of class khazardcond

type

type of plot. Possible types are: "persp" (default), "persp3d", "contour".

zlim

Limits for the z axis.

xlab

Label for the x axis.

ylab

Label for the y axis.

zlab

Label for the z axis.

main

Title of plot.

...

Additional arguments.

See Also

khazardcond

Examples

Run this code
# NOT RUN {
library(survival)
fit<-khazardcond(times = lung$time,delta = lung$status-1,covariate = lung$age,h=c(200,20))
plot(fit)
# }

Run the code above in your browser using DataLab