plot.khazardcond {kernhaz}R Documentation

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 class '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

library(survival)
fit<-khazardcond(times = lung$time,delta = lung$status-1,covariate = lung$age,h=c(200,20))
plot(fit)

[Package kernhaz version 0.1.0 Index]