..微笑着看着杯中的花茶一片片撑开.. ..透明的花瓣里水破开的声音很轻微..
发布时间:2016-01-20 10:16:09
[向原文致敬]http://www.biostatistic.net/thread-195-1-1.html用于字符串分割的函数:如strsplit('123abcdefgabcdef','ab')[[1]][1] "123" "cdefg" "cdef" #字符串连接:paste() #paste(..., sep = " ", collapse = NULL)#字符串分割:strsplit() #strsplit(x, split, extended = TRUE, fixed = .........【阅读全文】
发布时间:2015-04-14 17:00:53
[原文地址]:http://www.schulte-mecklenbeck.com/2011/04/resinstalling-packages-in-r-after-update/#--run in the old version of R setwd("C:/Temp/") packages ......【阅读全文】
发布时间:2015-01-20 17:45:30
处理矩阵或者数据框时,有时会对计算每行或每列中某些数值或某一个或几个字符的个数。当该数字或字符出现一定次数后选择保留或舍弃当前行的数据。翻了半天Google终于找到两种解决方案。如下:点击(此处)折叠或打开> m <- matrix(c("a","b","c","b","b","c","c","c","a","c","c","b"), ncol=.........【阅读全文】