Description Usage Arguments Details Value See Also
View source: R/tracks_object.R
This function will add the group, pairs and trial components to a track object, if they are currently not included. Note that the pairs component will be increase the size by a lot, if there is more than a few animals per trial.
1 2 |
tracks |
A tracks object. |
soc |
If TRUE, soc will be checked for and added if missing. |
group |
If TRUE, group will be checked for and added if missing. |
trial |
If TRUE, trial will be checked for and added if missing. |
animal |
If TRUE, animal will be checked for and added if missing. |
pair |
If TRUE, pair will be checked for and added if missing. |
Note that this function is similar to running as_tracks(tracks$tr, ...)
, but safer (i.e. no loss of data).
If group, pairs and trial are all false, it will return tracks.
A tracks object.
as_tracks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.