to_move | R Documentation |
Convert a move2 object to a move object
to_move(x)
x |
a |
Note that the individuals are ordered as they occur in the event data in the created
MoveStack-class
object as the order needs to correspond there between the event and track data
for move
.
an object of the class Move
/MoveStack
to_move
converts back to a objects from the move
package. When multiple individuals are provided a
MoveStack-class
is created otherwise a Move-class
object.
Other move2-convert:
mt_as_move2()
if (requireNamespace("move")) {
data(leroy, package = "move")
leroy_move2 <- mt_as_move2(leroy)
to_move(leroy_move2)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.