R/mle-function.R

Defines functions mle

Documented in mle

#' Computes success rate using Maximum Liklihood estimate
#'
#'
#' @param .success  the total number of successes
#' @param .trials the total number of trials
#' @return an estimated success rate (%) as a numeric
#' @family point estimate adjusters
#' @rdname mle
#' @export
#'
#'

mle <-
  function(.success, .trials){
    .out<-
      (.success / .trials)
    .out
  }
darrellpenta/uxstats documentation built on Jan. 18, 2022, 8:06 p.m.