R/bin_mean.R

#' @title Bin Mean
#' @description determines the mean
#' @param trials
#' @param prob
#' @return mean
#' @export
#' @examples
#' bin_mean(5,0.75)
bin_mean <- function(trials,prob){
  check_trials(trials)
  check_prob(prob)
  aux_mean(trials,prob)
}
annabardin/Workout03 documentation built on May 4, 2019, 12:54 a.m.