Skip to contents

Renders a bare ggplot2::ggplot() survival-difference curve. Compose with geom_hline(yintercept = 0), scale_y_continuous(), labs(), and hv_theme().

Usage

# S3 method for class 'hv_survival_difference'
plot(x, ci_alpha = 0.2, line_width = 1, ...)

Arguments

x

An hv_survival_difference object.

ci_alpha

Transparency of the CI ribbon. Default 0.20.

line_width

Line width. Default 1.0.

...

Ignored.

Value

A ggplot2::ggplot() object.