Skip to contents

Barplot 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, passed to plot

Value

text vector length n, naming which indicators most strongly increase as you get closer to the site(s)