calculate_dailygain: Calculate average daily gain

View source: R/progeny_data_flp.R

calculate_dailygainR Documentation

Calculate average daily gain

Description

The program package ECOWEIGHT (C Programs for Calculating Economic Weights in Livestock) need input parameter files. This function will calculate average daily gain.

Usage

calculate_dailygain(
  pv_mean_slaughterage,
  pv_mean_weaningage,
  pv_mean_livewt_atslaughter,
  pv_mean_weaningwt,
  pb_log = FALSE,
  plogger = NULL
)

Arguments

pv_mean_slaughterage

vector with the mean of slaughter age

pv_mean_weaningage

vector with the mean of weaning age

pv_mean_livewt_atslaughter

vector with the mean of live weight at slaughter

pv_mean_weaningwt

vector with the mean of weaning weight

pb_log

indicator whether logs should be produced

plogger

logger object

Value

dailygain vector


sknqualitasag/qp4ewc documentation built on Sept. 27, 2022, 3:31 p.m.