powered by
media() gets the media from a Camera Trap Data Package object.
media()
media()<- is the assignment equivalent.
media()<-
It should only be used within other functions, where the expected data structure can be guaranteed.
media(x)media(x) <- value
media(x) <- value
A tibble::tibble() data frame with media.
tibble::tibble()
Camera Trap Data Package object, as returned by read_camtrapdp().
read_camtrapdp()
A data frame to assign as media.
Other accessor functions: contributors(), deployments(), events(), individuals(), locations(), observations(), taxa()
contributors()
deployments()
events()
individuals()
locations()
observations()
taxa()
x <- example_dataset() # Get media media(x) # Set media (not recommended outside a function) media(x) <- head(media(x), 1)
Run the code above in your browser using DataLab