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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to