matchVisit: match_visit.R

Description Usage Arguments Value

View source: R/match_visit.R

Description

Match visit to a time for model-based bootstrap with interval-censored data.

Usage

1
matchVisit(draw, visitTimes)

Arguments

draw

(s+1)-length vector of all 0s except for one 1, which is the failure interval.

visitTimes

s-length vector where is the number of inspection times for a subject.

Value

n*(s+1) matrix where element (i,j) holds the probability that subject i will fail in interval j.


ICSKAT documentation built on Nov. 25, 2021, 9:07 a.m.