TimeToHitEdge: Auxiliary function to calculate first transition time for a...

Description Usage Arguments Value

View source: R/event.R

Description

Auxiliary function to calculate first transition time for a set of edges

Usage

1

Arguments

data

A subset of EventSimOutput data with a specific patient Id

edges

A set of edges of the form c("fromNode_1","toNode_1","fromNode_2","toNode_2",...)

Value

The first transition into toNode_i from fromNode_i for some i If no edge in edges is traversed then Inf is returned


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