摘要: R语言生成各种数据1.生成实数,起始值,末值,间隔 > seq(1, 5, 0.5)[1] 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0> seq(length=9, from=1, to=5)[1] 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.02... 阅读全文
posted @ 2015-10-14 16:50 BugsTerminator 阅读(3501) 评论(0) 推荐(0)
摘要: R语言读取文件数据 􀀀1.read.table()函数2.其他函数的缺省read.csv(file, header = TRUE, sep = ",", quote="\"", dec=".",fill = TRUE, ...)read.csv2(file, header = TRUE, sep... 阅读全文
posted @ 2015-10-14 16:32 BugsTerminator 阅读(3137) 评论(0) 推荐(0)