#' 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)}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.