Skip to contents

Return the plot the regularization path from a ppDiscSurv object

Usage

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

Arguments

fit

a ppDiscSurv 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
prov.char <- DiscTime$prov.char
Z.char <- DiscTime$Z.char
Time.char <- DiscTime$Time.char
fit <- pp.DiscSurv(data, Event.char, prov.char, Z.char, Time.char)
plot(fit, label = T)