calculate_extrapolated_weaningweight: Extrapolate weaning weight at t-days

View source: R/progeny_data_flp.R

calculate_extrapolated_weaningweightR Documentation

Extrapolate weaning weight at t-days

Description

The program package ECOWEIGHT (C Programs for Calculating Economic Weights in Livestock) need input parameter files. This function will calculate the extrapolate weaning weight at t-days.

Usage

calculate_extrapolated_weaningweight(
  pv_mean_weaningage,
  pv_daily_gain,
  pv_mean_weaningwt,
  pv_t_days,
  pb_log = FALSE,
  plogger = NULL
)

Arguments

pv_mean_weaningage

vector with the mean of weaning age

pv_daily_gain

vector with daily gain

pv_mean_weaningwt

vector with the mean of weaning weight

pv_t_days

vector for t-days

pb_log

indicator whether logs should be produced

plogger

logger object

Value

weaningweight_tdays vector


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