Learn R Programming

cholera (version 0.9.1)

ortho.proj: Orthogonal projection of observed cases onto road network.

Description

Orthogonal projection of observed cases onto road network.

Usage

ortho.proj

Arguments

Format

A data frame with 5 variables that records the position of the orthogonal projection of the 578 cases onto the network of roads.

case

numeric case ID

road.segment

"address" road segment

x.proj

x-coordinate

y.proj

y-coordinate

dist

distance to home road segment

type

type of distance: orthogonal to road or Euclidean to endpoint