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