Jump to content
Ornithology Exchange
Melina

error in preprocessLight

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Thank you so much!

It was that!

Share this post


Link to post
Share on other sites

×
×
  • Create New...