Skip to contents

plot indicators as a function of distance from point(s) plot results of ejamit_compare_distances()

Usage

ejamit_compare_distances2plot(
  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)