https://www.rstudio.com/resources/cheatsheets/ http://michael.peopleofhonoronly.com/vim/vim_cheat_sheet_for_programmers_print.pdf ... ...
R语言中,简单的S3和S4类的定义# S3 classnewstudent <- function(sid, sname, ssex){ tmp <- list(id = sid, name = sname, sex = ssex) class(tmp) <- "student" re... ...
setwd( D:\R_test ) >data_infitlibra..."> <div class="information-details"> <p>聚类分析有很多种, 效果好不好大概要根据数据特征来确定。最常见的是kmeans法聚类</p... ...
abcddfdf$a[df$a==8]df$b[df$b==8]df$c[df$c==8]df..."> <div class="information-details"> <pre class="brush:cpp;toolbar:false">&... ...
out_con<-file("out.txt","w")write(sprintf("Thisisline%d.\n",1),out_con,append=T)write("Thisisline2.",out_con,append=T)close(out_con)或者printer=file... ...
最近做的几个项目都是用R语言来完成的。正如老师所说,学起来很快,忘起来也很快。整理一下放在这里,方便以后查阅。安装所需的包:install.packages("xxxx")加载包:library("xxxx")显示/改变工作目录getwd()/setwd("d:/temp")文件操作:1.读取csv文件... ...
colnames(data1)[seq(2,ncol(data1),15)] [1] AAAA AAGG ATGC ACGT AGGA TACG TTCC  ..."> <div class="information-details"> &l... ...
http://www.tuwenzhai.com/d/a5d63caa-3e81-4237-9905-7ce4173155fb 其他一些书:http://www.tuwenzhai.com/doc/mostread/0 ... ...
</div> <div class="zixun-tj-product adv-bottom"></div&g... ...
https://haoeric.gitbooks.io/r-advanced/content/qu_zi_ji.html http://adv-r.had.co.nz/Subsetting.html 取子集R的取子集操作非常快捷灵活。掌握R中的取子集操作能让你用简洁的方式对数据进行复杂的操作,这是其他编... ...
ubuntu进不去root,貌似是每次开机时默认root密码都会产生一个新的。 使用sudo passwrd重置root密码2.apt-get install r-base3.apt-get install r-base-dev4. 安装成功。5. 安装Rstudio下载安装包安装下载R-3.2.2.t... ...
Statistics and Computing系列Introductory Statistics with RSecond EditionR语言统计入门(第2版)[丹麦] Peter Dalgaard 著郝智恒 何通 邓一硕 刘旭华 译R语言是一个S语言的开源版本,在多种操作系统平台上都可以使用,并且... ...