PlotCurve: Function to plot the survival curves

Description Usage Arguments

View source: R/func_visual.R

Description

Function to plot the survival curves

Usage

1
PlotCurve(beta, G, T, N, y, cen, ncol = 2, legend.pos = "bottomleft")

Arguments

beta

the estimated coefficients, in class "param"

G

a vector of group labels

T, N

cancer characteristic in vectors or factors

y

time to events, in vector

cen

censor indicator, in vector

ncol

number of columns when plotting curves for each trial

legend.pos

position of the legend, "bottomleft" or "topright"


WangTJ/glidars documentation built on Jan. 20, 2021, 6:32 p.m.