ApportionSex: Apportion Sex (as m or f) for Striped Bass Dataset.

Description Usage Arguments Value Examples

View source: R/sex_ratio.R

Description

Striped Bass data analyses are bifurcated by sex. Not all fish are or can be sexed in field. So, this function apportions sex based on proportion of sexed fish. No fractions, this function assigns the 'leftover' 1 to females.

Usage

1

Arguments

data

Dataframe containing sex data.

sex

Character (quoted or not). The field name in 'data'.

Value

‘data' with un-sexed fish now either as ’m' or 'f'.

Examples

1
# coming soon.

jasondubois/sportfish documentation built on July 3, 2020, 1:01 p.m.