You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(od)
od=od_data_df[1:2, ]
zones=od::od_data_zones_minsubzones=od_data_zones_smallod_disag= od_disaggregate(od, zones, subzones)
#> Converting subzones to centroids#> although coordinates are longitude/latitude, st_intersects assumes that they are planar#> although coordinates are longitude/latitude, st_intersects assumes that they are planar#> although coordinates are longitude/latitude, st_intersects assumes that they are planar#> although coordinates are longitude/latitude, st_intersects assumes that they are planar
ncol(od_disag) -1== ncol(od) # same number of columns (except disag data gained geometry)#> [1] FALSE
sum(od_disag[[3]]) == sum(od[[3]])
#> [1] TRUE
sum(od_disag[[4]]) == sum(od[[4]])
#> [1] TRUE
plot(rowSums(sf::st_drop_geometry(od_disag)[4:10]), od_disag[[3]])
Created on 2021-04-30 by the reprex package (v2.0.0)
The text was updated successfully, but these errors were encountered: