Dear all,

Let's say I have the following:

# Loading the boot package
# install.packages(boot)
library(boot)

# Generating data
set.seed(123)
x <- rnorm(100)

# Bootstrap for the sample mean
bmean <- boot(x, function(x,d) mean(x[d]), R=1000)
bmean
#
#ORDINARY NONPARAMETRIC BOOTSTRAP
#
#
#Call:
#boot(data = x, statistic = function(x, d) mean(x[d]), R = 1000)
#
#
#Bootstrap Statistics :
#     original      bias    std. error
#t1* 0.0904059 0.004641537  0.09239923


and I would like to get just this:


Bootstrap Statistics :
     original      bias    std. error
t1* 0.0904059 0.004641537  0.09239923


How can I do that?  I'm running R 2.8.1 Patched on XP SP2. Here is my
sessionInfo():

> sessionInfo()
R version 2.8.1 Patched (2009-03-09 r48093)
i386-pc-mingw32

locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;
LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United
States.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] RODBC_1.2-5 boot_1.2-35


As always, thank you so much for all your help.

Regards,

Jorge

Jorge Ivan Velez
jorgeivanvelez [at] gmail [dot] com

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to