survmedian_sum: Function to nicely display median survival time by group

Description Usage Arguments

View source: R/main.R

Description

Function to nicely display median survival time by group

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
survmedian_sum(
  data,
  time,
  status,
  group,
  grpLabel = "Group",
  digits = 1,
  caption = NULL,
  tblOnly = FALSE
)

Arguments

data

datafrmae

time

survival time

status

indication of censored or observed data

group

the variable to group observations by

grpLabel

character value describing the grouping variable

digits

the number of digitis to display

caption

table caption

tblOnly

should a dataframe or a formatted object be returned


Avery-Lisa/myReportRx documentation built on May 23, 2021, 2:30 a.m.