Learn R Programming

easysurv (version 2.0.1)

print.get_km: Print methods for get_km()

Description

Print methods for get_km()

Usage

# S3 method for get_km
print(x, ...)

Value

The summary of the Kaplan-Meier estimates, printed via the console.

Arguments

x

An object of class get_km

...

Additional arguments

Examples

Run this code
km_results <- get_km(
  data = easysurv::easy_bc,
  time = "recyrs",
  event = "censrec",
  group = "group",
  risktable_symbols = FALSE
)

print(km_results)

Run the code above in your browser using DataLab