PTT
Submit
Submit
選擇語言
正體中文
简体中文
PTT
R_Language
[問題] (救回) 多回圈loop 與paste
作者:
celestialgod
(天)
2016-11-20 14:28:46
相關作者訊息已經遮蔽
想要請問一下
我想要i j paste
在sas我比較熟悉會使用
data data;
do i= 1 to 5;
do j= 1 to 5;
output;
end;
end;
run;
然後cats連起來
我嘗試在r 使用paste0 (1:5,1:5) 卻失敗
另外嘗試先創一個空的dataset
然後放入i j 的loop 在paste
結果也是失敗
可以請問一下要怎樣處理嗎
謝謝
作者:
celestialgod
(天)
2015-08-22 00:26:00
apply(expand.grid(1:5,1:5),1,paste, collapse="")
繼續閱讀
[問題] (救回) mac write csv
celestialgod
Re: [問題] 用兩個檔案找相同的值
celestialgod
Re: [問題] 用兩個檔案找相同的值
abc2090614
[問題] 用兩個檔案找相同的值
hirdaramani
[問題] undersampling的問題
lenofire
Re: [問題] 用一行code str_detect 判斷多個string元素
celestialgod
[問題] 用一行code str_detect 判斷多個string元素
wanson
[問題] 對group_by後的資料使用filter過濾
joson4921
[問題] merge某些欄位不須merge
jklkj
[問題] 3D繪圖問題
pinlateng
Links
booklink
Contact Us: admin [ a t ] ucptt.com