Re: [R] cannot use simple=TRUE in boot

2012-06-25 Thread he chen
Dear Rui, Thanks. I check the spell in the code, no wrong (just spell wrong in the error message). After I download the newest 2.15 version, the code work fine with me, too. I guess it resulted from the old version (2.7.1) I used. 2012/6/25 Rui Barradas : > Hello, > > Your code works with me

Re: [R] cannot use simple=TRUE in boot

2012-06-25 Thread Rui Barradas
Hello, Your code works with me, unchanged: > boot<-boot(c,table,100, sim="ordinary", stype="i",simple=TRUE) > boot ORDINARY NONPARAMETRIC BOOTSTRAP Call: boot(data = c, statistic = table, R = 100, sim = "ordinary", stype = "i", simple = TRUE) Bootstrap Statistics : original bias

[R] cannot use simple=TRUE in boot

2012-06-25 Thread he chen
I am doing boot with a large database, thus want to use simple=TRUE to reduce the memory used. I alreday set up sim="ordinary", stype="i" , but I don't know how to set "n=0". In fact, I don't know what does "n=0" mean? For example, a<-c(1:1000) b<-c(2:1001) c<-cbind(a,b) library(boot) table<-func