Skip to contents

Return the plot the regularization path from a DiscSurv object

Usage

# S3 method for class 'DiscSurv'
plot(fit, log.x = T, label = F)

Arguments

fit

a DiscSurv object.

log.x

whether the horizontal axis be on the log scale.

label

whether annotates the plot with labels.

Examples

data(DiscTime)
data <- DiscTime$data
Event.char <- DiscTime$Event.char
Z.char <- DiscTime$Z.char
Time.char <- DiscTime$Time.char
fit <- DiscSurv(data, Event.char, Z.char, Time.char)
plot(fit, label = T)