摘要: http://www.dataguru.cn/article-1766-1.html 阅读全文
posted @ 2012-12-14 12:30 蒋蒋 阅读(229) 评论(0) 推荐(0) 编辑
摘要: Combine R Objects by Rows or ColumnsPackage:baseTake a sequence of vector, matrix or data frames arguments and combine by columns or rows, respectively. These are generic functions with methods for other R classes.Usagecbind(..., deparse.level = 1)rbind(..., deparse.level = 1)> m<-cbind(1,1:7) 阅读全文
posted @ 2012-12-14 12:29 蒋蒋 阅读(2109) 评论(0) 推荐(0) 编辑
摘要: mean(trim)去掉最大值和最小值后的平均数(Trim mean)> s<-c(.25, 0.4, 1.00,2.00,3.00,4.00,5.00,8.00,12.00,50.00) > s [1] 0.25 0.40 1.00 2.00 3.00 4.00 5.00 8.00 12.00 50.00> mean(s,trim=1/10) [1] 4.425#####也就是去除s中的最大值最小值等价于> s<-c(.25,1.00,2.00,3.00,4.00,5.00,8.00,12.00) > mean(s) [1] 4.40625##### 阅读全文
posted @ 2012-12-14 12:26 蒋蒋 阅读(477) 评论(0) 推荐(0) 编辑
摘要: excel中怎样快速下拉函数到指定的位置?例如:设置B1=A1*2,然后把B列往下拉时,就分别得到B2+A2*2,B3=A3*2,且自动填充数值,可是,如果行数非常多,达到几万个,则要消耗很长时间,怎样能快速的拉到最后一行,或者拉到指定的位置呢?在名称框(编辑栏最左边的框)里输入要填充公式的区域 B1:B20000回车输入公式=A1*2按CTRL+ENTER 阅读全文
posted @ 2012-12-14 12:23 蒋蒋 阅读(1708) 评论(0) 推荐(0) 编辑