Skip to contents

survival proportion afun

Usage

s_proportion_1(
  x,
  conf_level = 0.95,
  method = c("waldcc", "wald", "clopper-pearson", "wilson", "agresti-coull", "jeffreys"),
  long = FALSE
)

Arguments

x

data vector

conf_level

confidence level

method

type of method for calculation

long

flag

Value

A function suitable for use in rtables::analyze() with element selection, reformatting, and relabeling performed automatically.