So I want to create a map showing the covid19 cases per 100.000 in Europe. However, after converting my Large SpatialPolygosDataFrame into a normal data frame with the fortify function and merging my corona information data set with the data frame of polygon data, the plot does not come out correctly anymore. I know that the cause is probably the order column, which is now not ordering the coordinates correctly anymore and has random jumps as you can see in the data frame. This is causing ggplot to incorrectly plot the coordinates in the right sequence. Does anyone know how I can reorder my entire dataframe by the column order. So the "order" column is ascending and all values around it are included in the reorder?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.