Daily egg production is estimated using mean egg density-at-age for each sample based on a pre-defined estimate of egg mortality (Z). If multple years and/or regions are included in the data then a separate estimate of P0 can be provided by specifying the columns that correspond to these variables.

Estimate_P0(data, site, Z = NULL, Region = NULL, Time = NULL)

Arguments

data

A data.frame that contains at least the following columns for Age, density, and hatching time. The function can determine these columns based on similarly named variables

site

A string containing the column name to idenify the site or sample

Z

A numeric vector or single numeric value of egg mortality (Z) value to be used in P0 calculation

Region

A string containing the column name for a region if desired as a grouping variable

Time

A string containing the column name for a timestep if desired as a grouping variable

Value

A data.frame of P0 estimates and standard errors for each included Region and Time as well as the values of Z provided