- lo<-lo[-c(1,length(lo))]
- for (l in lo) {
- compte <- compte + 1
- chitable[1,l]<-chitable[1,l]+1
- chitable[2,l]<-chitable[2,l]-1
- chi<-MyChiSq(chitable,sc,TT)
- if (chi>maxinter) {
- maxinter<-chi
- rmax<-compte
- }
- }
+ ## lo<-lo[-c(1,length(lo))]
+ ## for (l in lo) {
+ ## compte <- compte + 1
+ ## chitable[1,l]<-chitable[1,l]+1
+ ## chitable[2,l]<-chitable[2,l]-1
+ ## chi<-MyChiSq(chitable,sc,TT)
+ ## if (chi>maxinter) {
+ ## maxinter<-chi
+ ## rmax<-compte
+ ## }
+ #}
+ lo<-lo[-c(1)]
+ for (l in lo) {
+ chi<-MyChiSq(chitable,sc,TT)
+ if (chi>maxinter) {
+ maxinter<-chi
+ rmax<-compte
+ }
+ compte <- compte + 1
+ chitable[1,l]<-chitable[1,l]+1
+ chitable[2,l]<-chitable[2,l]-1
+ }