Format WildTrax report for occupancy modelling
wt_format_occupancy.Rd
This function formats the summary report from the wt_download_report()
function into an unmarked object for occupancy modelling. The current version only includes formatting for the ARU sensor and for single species single season models.
Arguments
- data
Summary report of WildTrax observations from the
wt_download_report()
function. Currently only functioning for the ARU sensor.- species
Character; four-letter alpha code for the species desired for occupancy modelling.
- siteCovs
Optional dataframe of site covariates. Must contain a column with the same values as the location field in the data, with one row per unique value of location (i.e., one row per site).
Value
An object of class unmarkedFrameOccu. See ?unmarked::unmarkedFrameOccu
for details.