[問題] 資料配對和權重處理
[問題類型]:
程式諮詢(我想用R 做某件事情,但是我不知道要怎麼用R 寫出來)
[軟體熟悉度]:
s
新手(沒寫過程式,R 是我的第一次)s
[問題敘述]:
(1)
http://i.imgur.com/EvGLkgV.jpg
![](https://i.imgur.com/EvGLkgV.jpg)
![](https://i.imgur.com/fvanMSD.jpg)
有2張表,我想要把一樣ticker的公司配對填入INS,如果沒有的話就NA
(2)
http://i.imgur.com/deaE2tW.jpg
![](https://i.imgur.com/deaE2tW.jpg)
請問要如何算每個sic中 ,個別公司at的權重,sic有非常多組
請教大家,謝謝~
-----
Sent from JPTT on my Asus ASUS_Z012DA.
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.82.165.26
※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1507955035.A.AD6.html
→
10/14 19:04,
6年前
, 1F
10/14 19:04, 1F
→
10/14 19:04,
6年前
, 2F
10/14 19:04, 2F
→
10/14 19:30,
6年前
, 3F
10/14 19:30, 3F
→
10/14 19:30,
6年前
, 4F
10/14 19:30, 4F
→
10/14 19:34,
6年前
, 5F
10/14 19:34, 5F
→
10/14 19:34,
6年前
, 6F
10/14 19:34, 6F
→
10/14 20:54,
6年前
, 7F
10/14 20:54, 7F
→
10/14 20:55,
6年前
, 8F
10/14 20:55, 8F
→
10/14 20:55,
6年前
, 9F
10/14 20:55, 9F
→
10/14 23:34,
6年前
, 10F
10/14 23:34, 10F
→
10/14 23:35,
6年前
, 11F
10/14 23:35, 11F
→
10/15 10:44,
6年前
, 12F
10/15 10:44, 12F