makeFake_release.df: makeFake_release.df

View source: R/makeFake_release.df.R

makeFake_release.dfR Documentation

makeFake_release.df

Description

Create a fake release.df data frame for use when no trials exist within the time period specified via min.date and max.date.

Usage

makeFake_release.df(site, min.date, max.date, visit.df)

Arguments

site

The identification number of the site for which estimates are required.

min.date

The start date for data to include. This is a text string in the format %Y-%m-%d, or YYYY-MM-DD.

max.date

The end date for data to include. Same format as min.date.

visit.df

A data frame resulting from the catch SQL sequence.

Details

Days produced depend on the seq.POSIXt function with by="1 DSTday".

The "fake efficiency trials" produced by this function insert one released fish and zero captured fish, per unique trapPositionID found within the visit.df data frame. These numbers are used to minimize the impact, if any, the construction of these fake data cause.

Value

A data frame with the number of rows equal to the number of days between min.date and max.date, inclusive.

See Also

F.get.release.data


tmcd82070/CAMP_RST documentation built on April 6, 2022, 12:07 a.m.