측정치 간의 거리
> 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, 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, 3.25, 3.26, 3.27, 3.29, 3.29, 3.30, 3.31, 3.31, 3.34, 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 >