search for: caseal

Displaying 1 result from an estimated 1 matches for "caseal".

Did you mean: casual
2012 Mar 01
2
'break' function in loop
...probably I put the break function under the wrong loop but I cannot fix it. Sorry if the whole script looks quite messy, I will be very appreciate if someone can help me fix this problem or probably give me some advices to write it in a smart way. My attempt: controlall <- rbeta(10000,1.5,6) caseall <- rbeta(10000,1.6,6) results <- NULL results1 <- NULL or <-vector("list",length=10) criteria <- matrix(data=c(1.05,1.15,1.15,1.25),ncol=2,nrow=2) for (k in 1:2) { for (i in 1:1000) { control <- sample(controlall,100) case <- sample(caseall,...