相关疑难解决方法(0)

在R中的谷歌地图上绘制多个点的坐标

我想在点ID的情况下在Google地图上绘制坐标:

数据样本:

          coordinates      id      
1   (7.1735, 45.8688)       2    
2  (7.17254, 45.8689)       3     
3  (7.17164, 45.8692)       4    
4  (7.18018, 45.8716)       5    
5  (7.17807, 45.8701)       6     
6  (7.17723, 45.8692)       7    
7  (7.17524, 45.8681)       8     
8  (7.18141, 45.8718)       9     
9   (7.1793, 45.8702)      10     
10 (7.17836, 45.8707)      11     
11 (7.17519, 45.8697)      12     
12 (7.17938, 45.8708)      13     
13 (7.17551, 45.8693)      14    
14 (7.17684, 45.8694)      15     
15 (7.18099, 45.8726)      17     
16 (7.18015, 45.8725)      18     
17 (7.18122, 45.8736)      19     
18 (7.17491, 45.8692)      20     
19 (7.15497, 45.8706)      25 …
Run Code Online (Sandbox Code Playgroud)

plot google-maps r ggplot2 ggmap

3
推荐指数
1
解决办法
6234
查看次数

标签 统计

ggmap ×1

ggplot2 ×1

google-maps ×1

plot ×1

r ×1