[問題] 如何建構這個問題的程式
[問題類型]:
程式諮詢(我想用R 做某件事情,但是我不知道要怎麼用R 寫出來)
[軟體熟悉度]:
使用者(已經有用R 做過不少作品)
[問題敘述]:
我目前在想要畫一筆資料的趨勢圖
但這個資料有21個項目 也就是說畫成圖有21條線
為了圖的清楚與判讀 我決定"最多"改成畫5條線
也就是說 我的圖可以畫1~5條 隨意選
而要畫得項目則由使用操作者決定要哪些
譬如 時間 項目1 項目2 ..... 項目21
1 A1 B1 U1
2 A2 B2 U2
... ... ... ...
100 A100 B100 U100
資料時間不只一百筆
另外 項目A~U都是數字
譬如我可以選 時間 49:70 畫 B G H F四條線在這段時間的趨勢
但是我現在對於這問題完全找不到下手點
因為以前我都用先建成矩陣 再畫圖
可是由於不一定畫5條 矩陣維度就會變
而且又不知道使用者會想畫哪幾項目
想請問板上高手的意見
[程式範例]:
構想中 暫無
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 219.85.83.97
推
03/29 09:02, , 1F
03/29 09:02, 1F
→
03/29 09:04, , 2F
03/29 09:04, 2F
→
03/29 09:04, , 3F
03/29 09:04, 3F
→
03/29 10:25, , 4F
03/29 10:25, 4F
→
03/29 10:27, , 5F
03/29 10:27, 5F
→
03/29 10:27, , 6F
03/29 10:27, 6F
→
03/29 10:31, , 7F
03/29 10:31, 7F
→
03/29 10:32, , 8F
03/29 10:32, 8F
推
03/29 10:46, , 9F
03/29 10:46, 9F
→
03/29 10:47, , 10F
03/29 10:47, 10F
→
03/29 10:47, , 11F
03/29 10:47, 11F
→
03/29 10:48, , 12F
03/29 10:48, 12F
→
03/29 11:00, , 13F
03/29 11:00, 13F
→
03/29 11:01, , 14F
03/29 11:01, 14F
→
03/29 11:02, , 15F
03/29 11:02, 15F
推
03/29 11:02, , 16F
03/29 11:02, 16F
→
03/29 11:03, , 17F
03/29 11:03, 17F
→
03/29 11:04, , 18F
03/29 11:04, 18F
→
03/29 11:05, , 19F
03/29 11:05, 19F
→
03/29 11:05, , 20F
03/29 11:05, 20F
→
03/29 11:06, , 21F
03/29 11:06, 21F
→
03/29 11:07, , 22F
03/29 11:07, 22F
→
03/29 11:08, , 23F
03/29 11:08, 23F
→
03/29 11:14, , 24F
03/29 11:14, 24F
→
03/29 11:14, , 25F
03/29 11:14, 25F
推
03/29 11:16, , 26F
03/29 11:16, 26F
→
03/29 11:19, , 27F
03/29 11:19, 27F
→
03/29 11:19, , 28F
03/29 11:19, 28F
→
03/29 11:19, , 29F
03/29 11:19, 29F
→
03/29 11:19, , 30F
03/29 11:19, 30F
→
03/29 11:22, , 31F
03/29 11:22, 31F
→
03/29 11:23, , 32F
03/29 11:23, 32F
→
03/29 11:24, , 33F
03/29 11:24, 33F
→
03/29 12:01, , 34F
03/29 12:01, 34F
→
03/29 12:01, , 35F
03/29 12:01, 35F
→
03/29 12:02, , 36F
03/29 12:02, 36F
→
03/29 12:02, , 37F
03/29 12:02, 37F
推
03/29 15:56, , 38F
03/29 15:56, 38F
→
02/01 17:58, , 39F
02/01 17:58, 39F
R_Language 近期熱門文章
PTT數位生活區 即時熱門文章