R/RcppExports.R

Defines functions jack

Documented in jack

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#' @title  Jackknife estimator for population mean
#' @description Jackknife estimator for population mean and its variance using Rcpp
#' @param x a vector composed of sample points
#' @return a 2-dimension vector whose first and second elements are respecitvely the jackknife estimate of mean and the estimated variance of mean estimator
#' @examples
#' \dontrun{
#' x<-rnorm(1000,5,5)
#' jack(x)
#' }
#' @export
jack <- function(x) {
    .Call('_SC19009_jack', PACKAGE = 'SC19009', x)
}
SC19009/SC19009 documentation built on Jan. 3, 2020, 12:09 a.m.