R/PooledEstimateFunction.R

#' Title
#'
#' @param N the geometric sampling result
#' @param cen the censored status of geometric samplings
#'
#' @return
#' @export
#'
#' @examples
PooledEstimateFunction <- function(N,cen) {
  NN <- N
  K <- length(NN)
  cend <- cen
  result <- sum(cend)/(sum(NN)-K+sum(cend))
  return(result)
}
andrewhaoyu/PAV documentation built on May 12, 2019, 8:41 a.m.