xytb2hmm {m2b} | R Documentation |
xytb object conversion to moveHMM object
Description
The function converts a xytb object to a moveHMM dataframe (see https://CRAN.R-project.org/package=moveHMM and prepData).
Usage
xytb2hmm(xytb)
Arguments
xytb |
A xytb object |
Value
A dataframe ready to be used by the function of the 'moveHMM'
Author(s)
Laurent Dubroca
Examples
#track_CAGA_005 is a dataset
xytb<-xytb(track_CAGA_005,"a track",3,.5)
xyhmm <-xytb2hmm(xytb)
#then you can use moveHMM functions
if(requireNamespace("moveHMM")){
plot(xyhmm)
}
[Package m2b version 1.0 Index]