TimeToHit: Auxiliary function to calculate first hitting time for a set...

Description Usage Arguments Value

View source: R/event.R

Description

Auxiliary function to calculate first hitting time for a set of states

Usage

1
TimeToHit(data, states)

Arguments

data

A subset of EventSimOutput data with a specific patient Id

states

A set of states

Value

The first transition into any node in the vector states If no node in states is hit then Inf is returned


scientific-computing-solutions/badminton documentation built on May 29, 2019, 3:43 p.m.