作者jeffgod (和尚)
看板Statistics
标题[程式] [R]函式一问!!
时间Tue Sep 22 16:15:05 2009
------------------------------------------------------------------------
新手(不到1个月)
-----------------------------------------------------------------------------
最近刚学~~ 看到一个指令 不太会用
烦请版上先进教一下~~
我想问的是有关 paste()这个函式~~看不太懂他要干嘛
我有用help去查他的用法~ 无奈英文太差了XD
paste(...,sep="", collapse=NULL)
其中 sep: a character string to seperate the terms
collapse: an optional character string to seperate the results
请告诉我 paste , sep ,collapse 怎麽用= ="
谢谢!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.123.63.51
1F:→ gsuper:将两群以上的资料(数值||字串)合并 , 并且都变成字串 09/22 16:54
2F:→ gsuper:预设会在合并的位置空一格 , 为sep=" " , 若指定sep="" 09/22 16:55
3F:→ gsuper:可以取消中间的空格 也可以任意加东西进去(例如逗点) 09/22 16:56
4F:→ jeffgod:喔喔 谢谢!! 09/22 17:37