r:graphics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
r:graphics [2017/11/27 09:49] – [e.g. 2] hkimscil | r:graphics [2017/11/27 09:57] (current) – [Adding Confidence Intervals to a Bar Chart] hkimscil | ||
---|---|---|---|
Line 230: | Line 230: | ||
F-statistic: | F-statistic: | ||
+ | > plot(LifeCycleSavings) | ||
> plot(lm.SR) | > plot(lm.SR) | ||
</ | </ | ||
Line 420: | Line 421: | ||
+ | + | ||
+ | + | ||
- | {{: | + | {{: |
====== Adding Confidence Intervals to a Bar Chart ====== | ====== Adding Confidence Intervals to a Bar Chart ====== | ||
Line 431: | Line 432: | ||
</ | </ | ||
- | < | + | < |
- | tsd <- tapply(Temp, | + | # mean for each month |
- | tse <- tsd/ | + | tsd <- tapply(Temp, |
+ | # sd for each month | ||
+ | tse <- tsd/ | ||
+ | # se for each month | ||
lower <- tmean - 1.96*tse | lower <- tmean - 1.96*tse |
r/graphics.1511745558.txt.gz · Last modified: 2017/11/27 09:49 by hkimscil