atlas2flat.fn: Converts ATLAS data file to a flat file format

View source: R/atlas2flat.fn.R

atlas2flat.fnR Documentation

Converts ATLAS data file to a flat file format

Description

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 will converts an ATLAS formatted file to a flat file.

Usage

atlas2flat.fn(data.in)

Arguments

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

Value

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)


Columbia-Basin-Research-West/cbrATLAS documentation built on April 1, 2022, 1:52 p.m.