Hi!!! I am trying to run a bootstrap but I have troubles. My code is as follows theta <- function(x){mean(x,)} boot1<-boot(x,theta,R=1000) Error in statistic(data, original, ...) : unused argument(s) (1:487) Any help is welcome Thanks
[[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.