Learn R Programming

ICSKAT (version 0.3.0)

matchVisit: match_visit.R

Description

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

Usage

matchVisit(draw, visitTimes)

Value

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

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.