Amend, Augment and Aid Analysis of John Snow's Cholera Map

addBorder | Add map border to plot. |

addCases | Add observed cases by walking neighborhood. |

addEuclideanPath | Add the path for the Euclidean distance between cases and/or... |

addIndexCase | Highlight index case at 40 Broad Street. |

addKernelDensity | Add 2D kernel density contours. |

addLandmarks | Add landmarks to plot. |

addMilePosts | Add distance or time based "mileposts" to a walking... |

addNeighborhood | Add expected walking neighborhoods. |

addPlaguePit | Add plague pit (Marshall Street). |

addPump | Add selected pump(s) to plot. |

addRoads | Add roads to plot. |

addSnow | Adds Snow's graphical annotation of the Broad Street pump... |

addVoronoi | Add Voronoi cells. |

addWalkingPath | Add the shortest walking path between a selected cases or... |

addWhitehead | Add Rev. Henry Whitehead's Broad Street pump neighborhood. |

anchor.case | Anchor or base case of each stack of fatalities. |

border | Numeric IDs of line segments that create the map's border... |

caseLocator | Locate case by numerical ID. |

cholera-package | cholera: amend, augment and aid analysis of John Snow's... |

classifierAudit | Test if case is orthogonal to segment. |

distanceTime | Convert distance to elapsed time. |

euclideanDistance | Compute the Euclidean distance between cases and/or pumps. |

euclideanPath | Compute path of the Euclidean distance between cases and/or... |

fatalities | Amended Dodson and Tobler's cholera data. |

fatalities.address | "Unstacked" amended cholera data with address as unit of... |

fatalities.unstacked | "Unstacked" amended cholera fatalities data with fatality as... |

fixFatalities | Fix errors in Dodson and Tobler's digitization of Snow's map. |

mapRange | Compute xlim and ylim of Snow's map. |

nearestPump | Compute shortest walking distances or paths. |

neighborhoodData | Compute network graph of roads, cases and pumps. |

neighborhoodEuclidean | Plot Euclidean path pump neighborhoods. |

neighborhoodVoronoi | Compute Voronoi pump neighborhoods. |

neighborhoodWalking | Compute walking path pump neighborhoods. |

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

ortho.proj.pump | Orthogonal projection of 13 original pumps. |

ortho.proj.pump.vestry | Orthogonal projection of the 14 pumps from the Vestry Report. |

plague.pit | Plague pit coordinates. |

plot.classifier_audit | Plot result of classifierAudit(). |

plot.euclidean | Plot method for neighborhoodWalking(). |

plot.euclidean_path | Plot the path of the Euclidean distance between cases and/or... |

plot.time_series | Plot aggregate time series data from Vestry report. |

plot.voronoi | Plot Voronoi neighborhoods. |

plot.walking | Plot method for neighborhoodWalking(). |

plot.walking_path | Plot the walking path between selected cases and/or pumps. |

print.classifier_audit | Return result of classifierAudit(). |

print.euclidean | Print method for neighborhoodWalking(). |

print.euclidean_path | Summary of euclideanPath(). |

print.time_series | Print summary data for timeSeries(). |

print.voronoi | Print method for neighborhoodVoronoi(). |

print.walking | Print method for neighborhoodWalking(). |

print.walking_path | Print summary output for walkingPath(). |

pumpCase | Extract numeric case IDs by pump neighborhood. |

pumpData | Compute pump coordinates. |

pumpLocator | Locate water pump by numerical ID. |

pumps | Dodson and Tobler's pump data with street name. |

pumps.vestry | Vestry report pump data. |

regular.cases | "Expected" cases. |

roads | Dodson and Tobler's street data with appended road names. |

road.segments | Dodson and Tobler's street data transformed into road... |

roadSegments | Reshape 'roads' data frame into 'road.segments' data frame. |

segmentLength | Compute length of road segment. |

segmentLocator | Locate road segment by ID. |

sim.ortho.proj | Road "address" of simulated (i.e., "expected") cases. |

sim.pump.case | List of "simulated" fatalities grouped by walking-distance... |

simulateFatalities | Generate simulated fatalities and their orthogonal projection... |

snowColors | Create a set of colors for pump neighborhoods. |

snowMap | Plot John Snow's cholera map. |

snow.neighborhood | Snow neighborhood fatalities. |

snowNeighborhood | Plotting data for Snow's graphical annotation of the Broad... |

streetLength | Compute length of selected street. |

streetNameLocator | Locate road by name. |

streetNumberLocator | Locate road by numerical ID. |

timeSeries | Aggregate time series fatality data from the Vestry report. |

unitMeter | Convert nominal map distance to meters or yards. |

unstackFatalities | Unstack "stacks" in Snow's cholera map. |

walkingDistance | Compute the shortest walking distance between cases and/or... |

walkingPath | Compute the shortest walking path between cases and/or pumps. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.