mean 变量名 //以均值为主的描述统计,Mean为平均值、Std.Err.为标准误、Conf.Interval为置信区间 sum 变量名, detail //详细描述统计,有四分位数(包括中位数)、样本数、平均值、标准差 tabstat 变量名,statistic(mean median sd max min range var iqr) //meadian为中位数、sd为标准差、range为极差、var...
mx <- mean(x,trim=.05,na.rm=TRUE) sd(x) standard deviation of object(x). also look at var(x) for variance and mad(x) for median absolute deviation. median(x) median quantile(x, probs) quantiles where x is the numeric vector whose quantiles are desired and probs is a numeric ve...