View source: R/convenience-functions.R
wt_make_wide | R Documentation |
This function converts a long-formatted report into a wide survey by species dataframe of abundance values. This function is best preceded by thewt_tidy_species
and wt_replace_tmtt
functions to ensure 'TMTT' and amphibian calling index values are not converted to zeros.
wt_make_wide(data, sound = "all")
data |
WildTrax main report or tag report from the |
sound |
Character; vocalization type(s) to retain ("all", "song", "call", "non-vocal"). Can be used to remove certain types of detections. Defaults to "all" (i.e., no filtering). |
A dataframe identical to input with observations of the specified groups removed.
## Not run:
dat.clean <- wt_tidy_species(dat)
dat.tmtt <- wt_replace_tmtt(dat.clean)
dat.wide <- wt_make_wide(dat.tmtt, sound="all")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.