[R] about library(boot)

Francisca xuan fxx103 at hotmail.com
Wed Feb 16 17:28:24 CET 2005


Dear Sir/Madam:

I try to use the library boot to bootstrap the median of a data set. Can 
anybody tell me why this doesn't work? Thanks.

library(boot)
x=rnorm(100)
boot(x,median,999)

I know I can write a simple code for bootstrapping myself. but I am so 
curious to know why the above code does not work.

F. Xuan




More information about the R-help mailing list