autoplot.aareg: Autoplot 'survival::aareg'

Description Usage Arguments Value Examples

Description

Autoplot survival::aareg

Usage

1
2
3
## S3 method for class 'aareg'
autoplot(object, maxtime = NULL, surv.connect = TRUE,
  facets = TRUE, ncol = NULL, xlab = "", ylab = "", ...)

Arguments

object

survival::aareg instance

maxtime

truncate the input to the model at time "maxtime"

surv.connect

logical frag indicates whether connects survival curve to the origin

facets

Logical value to specify use facets

ncol

Number of facet/subplot columns

xlab

character vector or expression for x axis label

ylab

character vector or expression for y axis label

...

other arguments passed to autoplot.survfit

Value

ggplot

Examples

1
2
library(survival)
autoplot(aareg(Surv(time, status) ~ age + sex + ph.ecog, data = lung, nmin = 1))


Search within the ggfortify package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.