Re: [R] Trouble extracting graphic results from a bootstrap

2009-04-03 Thread David Winsemius
On Apr 3, 2009, at 7:10 AM, Anders Bjorn wrote: Hi, I'm trying to extract a histogram over the results from a bootstrap. However I keep receiving the error message "Error in hist.default(boot.lrtest $ll, breaks = "scott") : 'x' must be numeric". The bootstrap I'm running looks like: boot

[R] Trouble extracting graphic results from a bootstrap

2009-04-03 Thread Anders Bjorn
Hi, I'm trying to extract a histogram over the results from a bootstrap. However I keep receiving the error message "Error in hist.default(boot.lrtest$ll, breaks = "scott") : 'x' must be numeric". The bootstrap I'm running looks like: > boot.test <- function(data, indeces, maxit=20) { + y1 <- fit