Skip to contents

[Stable]

This is an auxiliary function for controlling arguments for survfit model, typically used internally to specify details of survfit model for s_surv_timepoint. conf_level refers to patient risk estimation at a time point.

Usage

control_surv_timepoint(
  conf_level = 0.95,
  conf_type = c("plain", "log", "log-log")
)

Arguments

conf_level

(proportion)
confidence level of the interval.

conf_type

(string)
"plain" (default), "log", "log-log" for confidence interval type,
see more in survival::survfit(). Note that the option "none" is no longer supported.

Value

A list of components with the same names as the arguments