ggsurvplot_to_gtable: Build a gtable representation from a ggsurvplot object

Description Usage Arguments Value

View source: R/survminertools.R

Description

Build a gtable representation from a ggsurvplot object

Usage

1
2
3
4
5
6
ggsurvplot_to_gtable(
  ggsurv_obj,
  surv.plot.height = NULL,
  risk.table.height = NULL,
  ncensor.plot.height = NULL
)

Arguments

ggsurv_obj

The ggsurvplot object

surv.plot.height, risk.table.height, ncensor.plot.height

Layout parameters, see arrange_ggsurvplots

Value

A gtable object


survivalAnalysis documentation built on Feb. 11, 2022, 5:07 p.m.