TABLE OF CONTENTS


methodsUni/plot.unirec [ Functions ]

NAME

    plot.unirec --- S3 plot method for unirec objects

FUNCTION

User-facing plotting function to plot survivor functions

SYNOPSIS

330 plot.unirec <- function(x, main = NULL, xscale = 1, hazscale = 1, add = FALSE, ...)

INPUTS

    see package documentation

SOURCE

333 {
334     processname <- attr(x, "processname")
335     if(!is.null(main)) processname <- main
336     plotsurvivor(x$hazard$breaks * xscale, x$hazard$hazard / xscale * hazscale, main = processname, add = add, ...)
337     invisible(x)
338 }