Calculate percentiles (as in CES3)
To compute CES3 subscores
Compute scores (as in CES 3.0)
1 2 3 4 5 6 7 8 | CES3_rank(x, i = which(x > 0), ...)
CES3_pctl(x, ...)
compute_CES3_subscores(.data, min_obs, unit_var = "FIPS",
group_var = "Group", ...)
compute_CES3_scores(.data, breaks = CES_PERCENTILE_BREAKS)
|
x |
values |
i |
(optional) expression indicating which values to include in the calculation |
.data |
a dplyr::tbl |
min_obs |
minimum number of observations in a group (else NA) |
unit_var |
character |
group_var |
character |
breaks |
named numeric vector |
... |
further arguments to base::rank |
x |
values |
... |
further arguments to CES3_rank |
... |
ignored |
.data |
data frame |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.