作者ciuhkimo (羽化新生)
看板R_Language
标题[问题] cvs档第一列作为变数名称
时间Wed Apr 18 11:19:02 2018
请问如何把读取的CSV档的第一列设为变数名称,而不被R当作变数下去运算?
[软体熟悉度]:
入门(写过其他程式,只是对语法不熟悉)
R 3.4.0
RStudio 1.0.153
谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 223.139.38.173
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/R_Language/M.1524021545.A.75D.html
1F:→ F0011010101: header = TRUE 04/18 11:45
2F:→ F0011010101: 对了,你用的函数是? 04/18 11:47
3F:→ ciuhkimo: read.csv读档; 想用vgam作图,但是遇到s(x),x不知要用 04/18 12:38
4F:→ ciuhkimo: 什麽,因为会出现argument 'x' must be of length one 04/18 12:40