plotKM: flexible KM curve wrapper

Description Usage Arguments Details

View source: R/qplot_survival_p.R

Description

plot KM curve for a cont/cat x.

Usage

1
plotKM(x, legendTitle, tag, ...)

Arguments

x

the stratification variable, either numeric or factor or character

...

other parameters passed to either ggKMcat or ggKM

Details

the program detects x as categorical if it is a factor or it is a character variable.


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.