extract_herd_from_status_id: Extract data from a STOCfree_data object based on status ids

View source: R/checks.R

extract_herd_from_status_idR Documentation

Extract data from a STOCfree_data object based on status ids

Description

Extract data from a STOCfree_data object based on status ids

Usage

extract_herd_from_status_id(sfd, status_id = integer())

Arguments

sfd

a STOCfree_data object

status_id

status id usually returned by error message

Details

This function is designed to help debugging error messages when compiling the JAGS model. Error messages can refer to Status whih is the internal variable refering to a month in a herd. The function will extract herds associated with specific statuses.


AurMad/STOCfree documentation built on Sept. 13, 2022, 3:20 a.m.