摘要:
###6.R语言与统计#### ###7.循环与自定义函数#### #7.1 for循环#### example("for") for(i in 1:5) print(1:i) #循环遍历每个数,每取出一个数,就打印一个向量 for(n in c(2,5,10,20,50)) { #循环遍历向量中的 阅读全文
posted @ 2019-06-16 22:49
be·freedom
阅读(1031)
评论(0)
推荐(0)
摘要:
###5.绘图工具#### #5.1 基本绘图函数plot()#### View(cars) help(cars) #行驶速度与刹车距离 head(cars) plot(cars) plot(cars$dist~cars$speed) #指定y轴表示刹车距离 plot(cars$speed~cars$dist) #指定x轴表示刹车距离 #5.2 为了方便将两幅图画在一... 阅读全文
posted @ 2019-06-16 21:59
be·freedom
阅读(1644)
评论(0)
推荐(0)
摘要:
帮小师妹跨操作系统安装一个R包叫devtools, cran上只有Windows和OS 情况如下: 在本机上可以安装(Windows) 但是在超算平台上无法安装,平台系统为red hat(基于Linux) 给出的error为 Installing package into ‘~:/path/’(as 阅读全文
posted @ 2019-06-16 21:09
be·freedom
阅读(11887)
评论(0)
推荐(0)
浙公网安备 33010602011771号