range
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
range [2019/03/25 08:49] – created hkimscil | range [2019/09/16 11:03] (current) – hkimscil | ||
---|---|---|---|
Line 2: | Line 2: | ||
측정치 간의 거리 | 측정치 간의 거리 | ||
- | < | + | <code>> x <- c(1.20, 1.82, 1.93, 2.04, 2.30, 2.33, 2.34, |
2.47, 2.51, 2.55, 2.64, 2.76, 2.77, 2.90, 2.91, 3.20, | 2.47, 2.51, 2.55, 2.64, 2.76, 2.77, 2.90, 2.91, 3.20, | ||
3.22, 3.39, 3.59, 4.02) | 3.22, 3.39, 3.59, 4.02) | ||
- | y <- c(3.13, 3.17, 3.19, 3.19, 3.20, 3.20, 3.22, 3.23, | + | > y <- c(3.13, 3.17, 3.19, 3.19, 3.20, 3.20, 3.22, 3.23, |
3.25, 3.26, 3.27, 3.29, 3.29, 3.30, 3.31, 3.31, 3.34, | 3.25, 3.26, 3.27, 3.29, 3.29, 3.30, 3.31, 3.31, 3.34, | ||
3.34, 3.36, 3.38) | 3.34, 3.36, 3.38) | ||
+ | |||
+ | > range(x) | ||
+ | [1] 1.20 4.02 | ||
+ | > max(x)-min(x) | ||
+ | [1] 2.82 | ||
+ | |||
+ | > range(y) | ||
+ | [1] 3.13 3.38 | ||
+ | > max(y)-min(y) | ||
+ | [1] 0.25 | ||
+ | > | ||
</ | </ |
range.1553471381.txt.gz · Last modified: 2019/03/25 08:49 by hkimscil