Hello,
I am trying to make a plot of incidence rate ratios over site using
twoway rcap irr_lb irr_ub _site, lc(black) || scatter irr _site, mc(black) ti(
> "IRR of 5-17y to <5y in pre-PCV period by site") yti(IRR) xti(Site) xlabel(1 2
> 3 4 5 6 8 9 10 11 12 13 16 17 19 20 21 23 26 27 30 32 33 34 35 36 37 38 40 41
> 42 43 44 45, valuelabel angle(45))
I want to sort the sites in a different order than they are in the dataset and tried using gen double obsorder = _n
with no luck.
Any help would be appreciated.
Thanks!
I am trying to make a plot of incidence rate ratios over site using
twoway rcap irr_lb irr_ub _site, lc(black) || scatter irr _site, mc(black) ti(
> "IRR of 5-17y to <5y in pre-PCV period by site") yti(IRR) xti(Site) xlabel(1 2
> 3 4 5 6 8 9 10 11 12 13 16 17 19 20 21 23 26 27 30 32 33 34 35 36 37 38 40 41
> 42 43 44 45, valuelabel angle(45))
I want to sort the sites in a different order than they are in the dataset and tried using gen double obsorder = _n
with no luck.
Any help would be appreciated.
Thanks!
Comment