| MAdata {MapGAM} | R Documentation |
Synthetic Case-Control Data for Massachusetts
Description
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.
Usage
data(MAdata)
Format
A data frame with 1000 observations on the following 6 variables.
Case0 for controls, 1 for cases.
Xcoordprojected X coordinate.
Ycoordprojected Y coordinate.
Smoking0 for nonsmokers, 1 for smokers.
Mercurycontinuous variable for mercury exposure.
Seleniumcontinuous variable for selenium exposure.
Details
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).
Source
Simulated data provided by package authors
Examples
data(MAdata)
summary(MAdata)
attach(MAdata)
# map participants, cases in red and controls in black
plot(Xcoord,Ycoord,col=Case+1)