View source: R/aw_preview_weights.R
aw_preview_weights | R Documentation |
Provides a preview of the weight options for areal weighted interpolation.
This can be useful for selecting the final specification for aw_interpolate
without having to construct a pipeline of all of the subfunctions manually.
aw_preview_weights(.data, tid, source, sid, type)
.data |
A |
tid |
A unique identification number within |
source |
A |
sid |
A unique identification number within |
type |
One of either |
A tibble with the areal weights that would be used for interpolation if type
is either "extensive"
or "intensive"
. If it is mixed, two tibbles (one for
"extensive"
and one for "intensive"
) are returned as a list.
aw_preview_weights(ar_stl_wards, tid = WARD, source = ar_stl_race, sid = GEOID, type = "extensive") aw_preview_weights(ar_stl_wards, tid = WARD, source = ar_stl_asthma, sid = GEOID, type = "intensive")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.