Tag Info

New answers tagged


The split command requires a data frame or vector and you are giving it a SpatialPointsDataFrame. All you have to do is to do the split first and then create your SpatialPointsDataFrame. Below is the complete code for this. library(sp) library(dplyr) SB <- read.csv("SB_040914.csv", header=TRUE, sep = ",") SB <- SB %>% group_by(Fecha, CodPar, x, y) ...

Top 50 recent answers are included