sex_newborns: Sex ratio of newborns

Description Usage Arguments Value

View source: R/probability_function.R

Description

sex_newborns() returns sex of singleton newborns. sex_twins() returns sex of pairs of twin newborns. Probability to be triplets or more is ignored (=0).

Usage

1
2
3
sex_newborns(n_calves, param_sim)

sex_twins(n_calves, param_sim)

Arguments

n_calves

The number of newborns.

param_sim

A list which combined param, a result of process_param() and a result of calc_param().

Value

A character vector consisted of "male", "female" and "freemartin".


fmsan51/blvibmjp documentation built on Sept. 2, 2020, 9:04 p.m.