nb: Select siblings to switch

Description Usage Arguments Value

View source: R/assignPens.R

Description

Selects and switches siblings randomly

Usage

1
nb(x, data, sowids)

Arguments

x

numeric vector of pens

data

data.table with column Zeugnr (sow ID)

sowids

character vector of sow ID's that appear more than once (i.e. siblings)

Value

numeric vector


DataZhukov/animalTrial documentation built on Dec. 17, 2021, 4:08 p.m.