Thanks for all of your work on migrateR, it's a really cool package! I'm using it to classify movement events of moose in northern BC, Canada.
I'd like to take a subset of bursts in my mvmt object to include only those for which all five models converged. I've tried to do it a few ways:
mod.nsd.conv<-mod.nsd[[fullmvmt(mod.nsd)==TRUE]]
mod.nsd.conv<-mod.nsd[[which(fullmvmt(mod.nsd)==TRUE)]]
These gives me the error "recursive indexing failed at level 2"
mod.nsd.conv<-mod.nsd[fullmvmt(mod.nsd)==TRUE]
mod.nsd.conv<-mod.nsd[which(fullmvmt(mod.nsd)==TRUE)]
These produce a list where each element is a mvmt object, but I can't then use mod.nsd.conv in other functions like topmvmt()
I'm sure I'm just doing it wrong, and I'd love some help on this! Please let me know if I can send over more code or information.
Hi Derek,
Thanks for all of your work on migrateR, it's a really cool package! I'm using it to classify movement events of moose in northern BC, Canada.
I'd like to take a subset of bursts in my mvmt object to include only those for which all five models converged. I've tried to do it a few ways:
mod.nsd.conv<-mod.nsd[[fullmvmt(mod.nsd)==TRUE]] mod.nsd.conv<-mod.nsd[[which(fullmvmt(mod.nsd)==TRUE)]] These gives me the error "recursive indexing failed at level 2"
mod.nsd.conv<-mod.nsd[fullmvmt(mod.nsd)==TRUE] mod.nsd.conv<-mod.nsd[which(fullmvmt(mod.nsd)==TRUE)] These produce a list where each element is a mvmt object, but I can't then use mod.nsd.conv in other functions like topmvmt()
I'm sure I'm just doing it wrong, and I'd love some help on this! Please let me know if I can send over more code or information.
Thanks! Lisa Koetke