Closed Rafnuss closed 2 years ago
If no acceleration data is available for your track, some functions won't work. With the error message:
Error in pam_classify(pam_data) : "date" %in% names(pam$acceleration) is not TRUE
This is the case for
One way of solving this is to create fake acceleration data and bypass pam_classify() with,
pam_classify()
pam_data$acceleration = pam_data$pressure pam_data$acceleration$obs = 0 pam_data$acceleration$ismig = FALSE
If no acceleration data is available for your track, some functions won't work. With the error message:
This is the case for