Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pander.survfit

Pander method for survfit class


Description

Prints an survfit object in Pandoc's markdown.

Usage

## S3 method for class 'survfit'
pander(x, caption = attr(x, "caption"), scale = 1,
  print.rmean = getOption("survfit.print.rmean"),
  rmean = getOption("survfit.rmean"), ...)

Arguments

x

the result of a call to the survfit function.

caption

caption (string) to be shown under the table

scale

a numeric value to rescale the survival time, e.g., if the input data to survfit were in days, scale=365 would scale the printout to years.

print.rmean, rmean

options for computation and display of the restricted mean

...

optional parameters passed to raw pandoc.table function


pander

An R 'Pandoc' Writer

v0.6.3
AGPL-3 | file LICENSE
Authors
Gergely Daróczi [aut, cre] (<https://orcid.org/0000-0003-3149-8537>), Roman Tsegelskyi [aut]
Initial release
2018-11-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.