2016年11月11日

R语言基础知识学习(四):R中的画图函数--plot()函数

摘要: plot()函数是R中基本的画x-y两个变量的函数,其用法如下为:plot(x, y, ...) 例如:首先我用runif()函数产生了两列随机数:x1,y1,然后用plot()函数直接画图: > x1 <- round(runif(20,min = 0 ,max = 100))> x1 [1] 9 阅读全文

posted @ 2016-11-11 18:14 草堂夜归人 阅读(77716) 评论(0) 推荐(3) 编辑

R语言基础知识学习(三):R的输入和输出函数简单介绍

摘要: 常用的输出函数:cat() 常用的输入函数:scan(),readline(),readLines() (1) cat()函数 Description Outputs the objects, concatenating the representations. cat performs much 阅读全文

posted @ 2016-11-11 17:29 草堂夜归人 阅读(13664) 评论(0) 推荐(0) 编辑

导航