Open temospena opened 4 years ago
e também pivot_longer, para por exemplo transformar matrizes em long_format
e em matrix de viagens, com o stplarn
TRIPSfreglx_matrix <- stplanr::od_to_odmatrix(TRIPSfreglxtodas_long[3:5]) #O, D, count
TRIPSfreglx_matrix[is.na(TRIPSfreglx_matrix)] = 0
dar o exemplo dos modos de transporte por município