R/npm.R

#' net profit margin -- Evaluate a company's financial performance
#'
#' @param ni net income
#' @param rv revenue (sales)
#' @seealso \code{\link{gpm}}
#' @export
#' @examples
#' npm(ni=8000,rv=20000)
npm <- function(ni,rv){
  return(ni/rv)
}

Try the FinCal package in your browser

Any scripts or data that you put into this service are public.

FinCal documentation built on May 2, 2019, 1:29 p.m.