討論串[程式] R合併資料
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
就是 merge 無誤,長度無關,請 ?merge 仔細看一下使用方法. 以下是模擬你的資料,並使用merge的結果. > set.seed(123). > A = data.frame(doctor=sample(1:5, 10, TRUE),. + salary=round(rnorm(10,
(還有554個字)
內容預覽:
你用過excel 的VLOOKUP 功能嗎?. 我寫過一個類似的function. 以及簡單的help. # ID1 is the ID in the file. # ID2 is the ID in the table containing data we want. # data2 is the
(還有243個字)
內容預覽:
------------------------------------------------------------------------. [軟體程式類別]:R. [程式問題]:資料合併. [軟體熟悉度]:中. [問題敘述]:. 兩筆長度不同資料的資料,以其中一個categorical變數的
(還有120個字)
首頁
上一頁
1
下一頁
尾頁