From a91ef3a088304e2bfdbac6588f71d5605a697a67 Mon Sep 17 00:00:00 2001 From: dcaff Date: Thu, 25 Apr 2013 12:00:47 -0600 Subject: [PATCH] unchecked Bootstrap --- R/Bootstrap.R | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/R/Bootstrap.R b/R/Bootstrap.R index 9c599b7..7fb7caf 100644 --- a/R/Bootstrap.R +++ b/R/Bootstrap.R @@ -5,10 +5,14 @@ #' #' @param x a vector. #' @param Boots The number of bootstraps. -#' @param fn the function you want to bootstrap. +#' @param fn the function you want to bootstrap, ie., mean, var, cov, etc. #' #' @author Tyler Hunt \email{tyler@@psychoanalytix.com} #' +#' @examples +#' x = runif(10, 0, 1) +#' Bootstrap(x,fn=mean) +#' #' @export