Groups
Groups
Sign in
Groups
Groups
R軟體使用者論壇
Conversations
About
Send feedback
Help
[R]請問如何在R中將data.frame合併為一個欄位
1,295 views
Skip to first unread message
david
unread,
Mar 29, 2016, 9:40:33 PM
3/29/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to R軟體使用者論壇
前輩們好,請問如何在R中將data.frame合併為一個欄位
如下圖所示,我最後在R中呈現的data.frame為以下圖示
現在想要將上面的形態轉換成以下圖示,想將上圖的virtual整列合併在一個欄位,然後Pred也整列合併為一個欄位,然後再將virtual 跟 Pred兩個欄位合併成向下圖所呈現一樣(逗號分隔),ETime方面可以不用理
卡在這個問題有點久,想請教前輩們有無想法。
謝謝
WEPA ^_^
unread,
Mar 30, 2016, 1:58:46 AM
3/30/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to R軟體使用者論壇
Hi David,
Please try:
paste( ) 函數.
# end
david於 2016年3月30日星期三 UTC+8上午9時40分33秒寫道:
david
unread,
Mar 30, 2016, 2:29:28 AM
3/30/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to R軟體使用者論壇
Hi WEPA
我馬上來嘗試,謝謝你^^
WEPA ^_^於 2016年3月30日星期三 UTC+8下午1時58分46秒寫道:
david
unread,
Mar 30, 2016, 2:51:26 AM
3/30/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to R軟體使用者論壇
Hi WEPA
I't work,thank you so much,
you've helped me a lot
!!!!!!
WEPA ^_^於 2016年3月30日星期三 UTC+8下午1時58分46秒寫道:
Reply all
Reply to author
Forward
0 new messages