Generic ratio estimator The internal function used to estimate spawning fraction and sex ratio

Estimate_Mean_Ratio(data, incl.extended.ratio.est = FALSE)

Arguments

data

A data.frame with numeric columns named "Top" and "Bottom" which represent the numerator and denominator, respectively

incl.extended.ratio.est

A logical statement that determines whether the extended ratio method is also returned

Value

A data.frame that includes the ratio estimate, variance, standard error and coefficient of variation (CV). The extended ratio test is also included if requested.