survfit: Compute a Survival Curve for Censored Data

Description Usage Arguments Value Constraints Examples

Description

Computes an estimate of a survival curve for censored data

Usage

1

Arguments

...

The additional arguments used by FL function: conf.int the level for a two-sided confidence interval on the survival curve(s). Default is 0.95. whereconditions WhereConditions to subset data GroupBy Column names defining the different groups in data, if any.

formula

a formula object, which must have a Surv object as the response on the left of the ~ operator and 1 on right side(Single survival curve)

data

Wide FLTable or FLTableMD objects

weights

Not currently used

subset

Not currently used

na.action

na values omitted always

etype

Not currently used

id

Not currently used

istate

Not currently used

Value

A list with class survfit. A list of survfit objects if the input is a FLTableMD object.

Constraints

Only Single survival curve supoorted currently.(RHS of formula is 1) Only conf.type='plain' supported.

Examples

1
2
3
4
5
fltMD <- FLTableMD("vwWHAS100","DataSetID","ObsID")
resultList <- survfit(Surv(TIME_VAL,STATUS)~1,data=fltMD)
print(resultList[[1]])
summary(resultList[[1]])
plot(resultList[[1]])

Fuzzy-Logix/AdapteR documentation built on May 6, 2019, 5:07 p.m.