# NOT RUN {
n.B<-2
prop.vec=c(0.5,0.6)
validation.bin(n.B,prop.vec)
# }
# NOT RUN {
n.B<-3
prop.vec=c(0.5,0.6)
validation.bin(n.B,prop.vec)
n.B<-3
prop.vec=c(0.5,0.6)
validation.bin(n.B)
n.B<-0
prop.vec=c(0.5,0.6)
validation.bin(n.B,prop.vec)
n.B<-3
prop.vec=c(0.5,0.6)
validation.bin(n.B,prop.vec)
n.B<-3
prop.vec=NULL
validation.bin(n.B,prop.vec)
n.B<-3
prop.vec=c(1,1.5,-1.5)
validation.bin(n.B,prop.vec)
# }
Run the code above in your browser using DataLab