Compute coordinates of orthogonal projection from case to road segment.
orthogonalProjection(case = 12, segment.id = "216-1", observed = TRUE,
use.pump = FALSE, vestry = FALSE, case.data = NULL)
An R data frame.
Numeric. case ID from fatalities
.
Character. Road segment ID.
Logical. FALSE
observed case; TRUE
simulated case (regular.cases
).
Logical. Use pump ID as case.
Logical. Use vestry pump data.
Object. For use with simulateFatalities
.