R/Functions.R
Estimate_Mean_Ratio.Rd
Generic ratio estimator The internal function used to estimate spawning fraction and sex ratio
Estimate_Mean_Ratio(data, incl.extended.ratio.est = FALSE)
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 |
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.