plotKM: plot Kaplan Myer curves

Description Usage Arguments

View source: R/myKMplot.R

Description

plot Kaplan Myer curves

Usage

1
2
plotKM(formstr, dat, alp = I(1/10), sfact = "surv", inclusive = F,
  y1 = -0.5, y2 = -1, titlestr = gsub(".*[~]", "", formstr))

Arguments

alp

alpha for transparancy of errors

sfact

survival value to plot

fit

result of survfit

cox

result of coxph


PietaSchofield/plibb documentation built on Nov. 11, 2018, 5:15 a.m.