mt_track_data | R Documentation |
move2
objectsmt_track_data()
retrieve track attribute table
mt_set_track_data()
replace the attribute table
mt_track_data(x)
mt_set_track_data(x, data)
x |
the |
data |
the new track data. This |
mt_track_data
returns a data.frame containing the track attribute data.
mt_set_track_data
returns the move2
object with updated track data
mt_sim_brownian_motion() |>
mutate_track_data(sex = c("f", "m")) |>
mt_track_data()
x <- mt_sim_brownian_motion(1:2, tracks = letters[1:4])
mt_set_track_data(x, data.frame(track = letters[1:4], age = 2:5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.