数据准备
height <- c(6.00, 5.92, 5.58, 5.92)
1 计算均值
mean(height)
[1] 5.855
2 计算中位数
median(height)
[1] 5.92
3 计算标准差
sd(height)
[1] 0.1871719
4 计算方差
数据准备
height <- c(6.00, 5.92, 5.58, 5.92)
1 计算均值
mean(height)
[1] 5.855
2 计算中位数
median(height)
[1] 5.92
3 计算标准差
sd(height)
[1] 0.1871719
4 计算方差