R/gpm.R

#' gross profit margin -- Evaluate a company's financial performance
#'
#' @param gp gross profit, equal to revenue minus cost of goods sold (cogs)
#' @param rv revenue (sales)
#' @seealso \code{\link{npm}}
#' @export
#' @examples
#' gpm(gp=1000,rv=20000)
gpm <- function(gp,rv){
  return(gp/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.