mapStats-package | R Documentation |
mapStats
will calculate statistics (mean, total, quantiles, variance, and standard deviation) for survey data
variables, by geography level (e.g., state, county) and optional observation-level factor variables
(e.g., survey year, eduction level, race). The statistics for each variable
are then plotted on a shapefile with color codes (choropleth map). Easy control over visual
elements such as cell censoring, color palettes, titles, plot layout, and variable renaming is enabled; see included demo(map_examples)
for a
full overview of options. Statistics may be calculated either weighted or unweighted.
The function calcStats
, which is called by mapStats
, can also be used on its own to calculate variable statistics.
Package: | mapStats |
Type: | Package |
Version: | 3.1 |
Date: | 2023-11-6 |
License: | GPL (>=2) |
Samuel Ackerman Maintainer: Samuel Ackerman <smackrmn@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.