Melina Posted February 6, 2020 Share Posted February 6, 2020 Hi everyone! I am running the preprocessLight of my geolocators data and I have the following error in some of my devices: Error in seq.default(as.numeric(tmin) + dt/2, as.numeric(tmax) - dt/2, : 'from' must be of length 1 My data spans not for more than one year but it includes different years (2019 and 2020). I have tried to subset the .lig original data so that it includes only one year, but it doesn't work! Any idea? Someone with the same problem? Thanks !!! MElina Link to comment Share on other sites More sharing options...
Simeon Posted February 6, 2020 Share Posted February 6, 2020 Hi Melina, please make sure that there are no NA´s in the date: sum(is.na(data$Date)) If this is >0 than this is the fault and you need to remove these rows. Cheers, Simeon Link to comment Share on other sites More sharing options...
Melina Posted February 6, 2020 Author Share Posted February 6, 2020 Thank you so much! It was that! Link to comment Share on other sites More sharing options...
Recommended Posts