I want to compare 4 confidence intervals. I have an example to do this with 2 intervals, but it can not work with 4 sides
Here's the script working for 2 intervals. VMP0 $ load
is my data
CIA < - TETE (Vimpi 0 $ Anelodi) $ Confkint CIB and LT - Titiist (Vimpi 1 $ Anelodi) $ conf.int # CIC & lt - Titiiti (CMA [1], CIB [1]) the upper & lt; - C (CIA [CIA] 2], CIB [2]) library (Jiplets) Barplot 2 (C (mean (Vimpi 0 $ Anelodi), means (Vimpi $ 1 Anelodi)), plot.ci = TRUE, ci.l = Less, CIU = upper, cola = 2: 3)
about this how?
Library (jipplets) # Just load some example data 1 & lt; - 1:20 load2 & lt; - 1:10 Load 3 & lt; - 10:20 load4 & lt; - 21:10 # this is your case # load 1 < - VMP0 $ NLoad # load2 & lt; - VMP1 $ NLoad # load3 & lt; - VMP2 $ NLoad # load4 & lt; - VMP3 $ NLoad CIA & lt; - Ttest (Load 1) $ conf.int CIB & LT; - T.teest (load2) $ conf.int CIC < - Tterest (Load 3) $ conf.int CID & lt; - TETE (Load 4) $ conf.int less & lt; - C (CIA [1], CIB [1], CIC [1], CID [1]) upper & lt; -c (CIA [2], CIB [2], CIC [2], CID [2]) Barlot 2 (c (mean (load 1), mean (loa d2), mean (load 3), mean Load 4), plot.ci = TRUE, ci.l = lower, ci.u = upper, col = 2: 3)
The next time adds your data to your query so that It can be reproduced.
No comments:
Post a Comment