Barplot comparing ejamit_compare_distances() results for more than one radius
Source:R/ejamit_compare_distances.R
ejam2barplot_distances.RdBarplot comparing ejamit_compare_distances() results for more than one radius
Usage
ejam2barplot_distances(
results_bydistance,
myvars = names_d_subgroups_ratio_to_state_avg,
ylab = "Ratio of Avg. within X miles to Avg. Statewide or Nationwide",
ylim = c(0, 5),
n = 1,
...
)Arguments
- results_bydistance
output of
ejamit_compare_distances(), table similar to ejamit()$results_overall except it has one row per distance.- myvars
optional, see
ejamit_compare_distances()- ylab
optional, see
ejamit_compare_distances()- ylim
optional, see
ejamit_compare_distances()- n
optional, see
ejamit_compare_distances()- ...
optional, other parameters passed to plot
Value
text vector length n, naming which indicators most strongly increase as you get closer to the site(s)
Examples
out = ejamit_compare_distances(testpoints_10, radii = 1:2, plot = F)
ejam2barplot_distances(out)