R/tolindexavg.R

Defines functions tolindexavg

Documented in tolindexavg

#' Calculates feed (replacement) tolerance index
#' @param x value of tolindex calculated stepwise
#' @param y value of tolindex calculated with respect to control
#' @author Prakash Pradhan and Shamik Guchhait
#' @description the index would delineate how much feed can be replaced in the diet of bovines and cattles so that milk production is optimal and health of the bovines and cattles are not compromised.
#' @export
tolindexavg <- function(x,y){z <- (x+y)/2; return(z)}
PradhanP-R/tolindex documentation built on Oct. 30, 2019, 10:52 p.m.