fupCompleteness: Calculate C index of of follow up completenes

Description Usage Arguments Value References Examples

View source: R/fupCompleteness.R

Description

Calculate C index of of follow up completenes.

Usage

1
2
fupCompleteness(time = NULL, status = NULL, cutoff = NULL,
  strata = NULL)

Arguments

time

Follow up (in days?)

status

event indicator

cutoff

(in days?)

strata

group

Value

A list with individual global C-index, strata C-indexes (optional), and individual C-indexes

References

Clark T., Altman D., De Stavola B. (2002), Quantification of the completeness of follow-up. Lancet 2002; 359: 1309-10

Examples

1
2
3
4
5
6
7
8
9
time   <- c(180, 12, 240, 250 )
status <- c(  0,  1,   0, 1   )
group  <- c("A","A", "B", "B" )

## example: 
## quantify fup completeness to 200 days (eg minimum potential
## follow up in a hypotethic prospective trial)

fupCompleteness(time = time, status = status, cutoff = 200, strata = group)

lbraglia/yapomif documentation built on May 20, 2019, 11:26 p.m.