MAdata | R Documentation |
90 cases and 910 controls with random smoking covarate values and random geolocations within Massachusetts, geocoded on a Lambert projection (in meters). MAmap
is a map of Massachusetts using the same projection.
data(MAdata)
A data frame with 1000 observations on the following 6 variables.
Case
0 for controls, 1 for cases.
Xcoord
projected X coordinate.
Ycoord
projected Y coordinate.
Smoking
0 for nonsmokers, 1 for smokers.
Mercury
continuous variable for mercury exposure.
Selenium
continuous variable for selenium exposure.
Lambert conformal conic projection for the State of Massachusetts, using standard parallels 41.71666667 and 42.68333333. The latitude of origin is 41.0, the central meridian is -71.5, and the projection units are meters (False Easting: 200000 m; False Northing: 750000 m).
Simulated data provided by package authors
data(MAdata)
summary(MAdata)
attach(MAdata)
# map participants, cases in red and controls in black
plot(Xcoord,Ycoord,col=Case+1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.