ggSurv: ggSurv

Description Usage Arguments Value Examples

Description

ggSurv

Usage

1
2
3
4
ggSurv(s, CI = "def", plot.cens = T, surv.col = "gg.def",
  cens.col = "red", cens.size = 1, lty.est = 1, lty.ci = 2,
  cens.shape = 3, theme_classic = T, xlab = "Time", ylab = "Survival",
  main = "", legendName = NULL, legendLabels = NULL)

Arguments

s

suvival object from survdiff(Surv())

plot.cens

TRUE/FALSE: Plot censored observations?

surv.col

Color for survival curves

cens.col

Color for censor ticks

cens.size

Size of censor ticks

lty.est

Line-type for survival curves

lty.ci

Line-type for survival curve confidence intervals

cens.shape

Censor tick shapes

theme_classic

TRUE/FALSE: Should the theme be set to theme_class()

xlab

x-axis label

ylab

y-axis label

main

main title

legendName

Title for the legend

legendLabels

Labels for the legend

Value

A ggplot2 Kaplan-Meier survival curve object

Examples

1
#NULL

TaylorAndrew/atPlot documentation built on May 9, 2019, 4:23 p.m.