atlas2flat.fn {cbrATLAS} | R Documentation |
cbrATLAS allows the mark-recapture data to be loaded in one of two file formats. The ATLAS file format (detailed in the ATLAS 1.4 manual, page 17) is a vertical file with one line per detection site. The default input format for the cbrATLAS package uses a flat file format, which details the history of each tag on one line, including release and detection times at each site. This function converts an ATLAS formatted file to a flat file.
atlas2flat.fn(data.in)
data.in |
Table: columns = release group name, bin number, tag id, tag activation date/time, tag release date/time, site name, detection (1 = yes, 0 = no), detection date/time |
Returns a table with columns: release group name, bin number, tag id, activation date/time, tag release date/time, one column per site name with detection time (blank if no detection)