remove_cows: Remove cows from a herd

Description Usage Arguments Value

View source: R/barn.R

Description

Assign NAs to area_id and chamber_id of specified cows.

Usage

1
remove_cows(cows, areas, i, area_table, removed_row, cause)

Arguments

cows

See cow_table.

areas

See setup_area_table.

i

The number of months from the start of the simulation.

area_table

See area_table.

removed_row

Row indice in cow_table of cows to be removed from current areas.

cause

A cause of removal of a cow.

Value

A cow_table in which area_id and chamber_id of specified cows are set as NA.


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