b:head_first_statistics:visualization
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
b:head_first_statistics:visualization [2020/09/07 13:15] – [Histogram] hkimscil | b:head_first_statistics:visualization [2022/09/14 08:49] – hkimscil | ||
---|---|---|---|
Line 71: | Line 71: | ||
Excel에서의 histogram | Excel에서의 histogram | ||
+ | |||
+ | | Bin | Frequency | ||
+ | | 199 | 3 | | ||
+ | | 399 | 7 | | ||
+ | | 599 | 9 | | ||
+ | | 799 | 5 | | ||
+ | | 999 | 2 | | ||
+ | |||
+ | |||
in R . . . . | in R . . . . | ||
Line 79: | Line 88: | ||
dat | dat | ||
hist(dat) | hist(dat) | ||
+ | hist(dat, breaks=5) | ||
</ | </ | ||
====== Scatter plot ====== | ====== Scatter plot ====== | ||
- | + | < | |
+ | hist(mtcars$hp) | ||
+ | </ | ||
+ | {{: | ||
- | < | + | |
+ | < | ||
attach(mtcars) | attach(mtcars) | ||
plot(wt, mpg, main=" | plot(wt, mpg, main=" | ||
Line 154: | Line 168: | ||
see | see | ||
https:// | https:// | ||
- | | + | * Life expectancy data: {{: |
- | {{: | + | |
- | | + | |
< | < |
b/head_first_statistics/visualization.txt · Last modified: 2023/09/11 08:11 by hkimscil