params.survfit: parameter estimates from survfit

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

function does. ~~

Usage

1
2
  params.survfit(fit,
    alpha = getOption("qwraps.alpha", 0.05), ...)

Arguments

fit
alpha
...

Details

above ~~

Value

?

Note

?

Author(s)

Peter DeWitt

References

?

See Also

?

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (fit, alpha = getOption("qwraps.alpha", 0.05), ...)
{
   if (1 - alpha != fit$conf.int) {
       warning("Refitting survfit with requested confidence level")
       fit <- update(fit, conf.int = 1 - alpha)
   }
   rtn <- summary(fit)$table[, c(5:7, 7)]
   rtn[, 4] <- NA
   show.pval <- FALSE
   return(params_frmtr(rtn, ...))
 }

dewittpe/qwraps documentation built on May 15, 2019, 5:07 a.m.