Nothing
#' Calculate N Balance Intensity (NBI)
#' @description
#' The difference between fertilizer N applied and the N removed as yield (N Surplus).
#' Formula: NBI = FertN - YieldN
#' @param YieldN A numeric vector of the N removed as yield.
#' @param FertN A numeric value or vector for fertilizer N input.
#' @return A numeric vector of NBI values.
#' @examples
#' YieldN <- c(80, 90, 100)
#' FertN <- 50
#' NBI(YieldN, FertN)
#' @export
NBI <- function(YieldN, FertN) {
return(FertN - YieldN)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.