| media {camtrapdp} | R Documentation |
Get or set media
Description
media() gets the media from a Camera Trap Data Package object.
media<-() is the assignment equivalent.
It should only be used within other functions, where the expected data
structure can be guaranteed.
Usage
media(x)
media(x) <- value
Arguments
x |
Camera Trap Data Package object, as returned by |
value |
A data frame to assign as media. |
Value
tibble::tibble() data frame with media.
See Also
Other accessor functions:
deployments(),
events(),
locations(),
observations(),
taxa()
Examples
x <- example_dataset()
# Get media
media(x)
# Set media (not recommended outside a function)
media(x) <- head(media(x), 1)
[Package camtrapdp version 0.3.1 Index]