averageSS: Tabulate an average search schedule from a multi-unit SS data table
Description
Given a multi-unit Search Schedule data table, produce an
average search schedule for use in generic detection probability
estimation.
Usage
averageSS(data_SS, SSdate = NULL)
Value
vector of the average search schedule
Arguments
data_SS
a multi-unit SS data table, for which the average interval
will be tabulated. It is assumed that data_SS is properly
formatted, with a column of search dates and a column of 1s and 0s for
each unit indicating whether the unit was searched on the given date).
Other columns are optional, but optional columns should not all contain
at least on value that is not a 1 or 0.
SSdate
Column name for the date searched data (optional).
if no SSdate is provided, data_SS will be parsed
to extract the dates automatically. If there is more than one column with
dates, then an error will be thrown and the user will be required to
provide the name of the desired dates column.