mapStats-package: Geographic display of survey data statistics
Description
mapStats will calculate statistics (mean, total, and quantiles) for survey
variables, by geography level (e.g. state, county), and an optional class variable
(such as year, if multiple years are included). The statistics for each variable
are then plotted on a shapefile with color codes. Statistics may be calculated either
weighted or unweighted.Details
ll{
Package: mapStats
Type: Package
Version: 1.11
Date: 2014-02-20
License: GPL (>=2)
}
To use the package, one should have a survey data.frame with a geographic variable, and a
shapefile that displays the boundaries of this geographic variable (such as a map of the
United States). The function mapStats is used to call functions calcQuantiles and
calcStats to calculate the desired statistics, and then calls plotStats to display these statistics
on the provided shapefile. A list of the calculated statistics is returned in mapStats.