Forum: support
Monitor Forum | Start New ThreadRE: get random sublist questions from a list [ Reply ] By: Kaveh Alla on 2021-03-21 21:57 | [forum:48852] |
That's it. Thanks alot! |
RE: get random sublist questions from a list [ Reply ] By: Achim Zeileis on 2021-03-21 20:43 | [forum:48851] |
Just to be sure: You want to have overall five questions, namely - a1 - b2 - two out of q1-q5 (without replication) - d1 You get that with exams2xyz(myexam, nsamp = c(1, 1, 2, 1), ...) for any exams2xyz interface. |
get random sublist questions from a list [ Reply ] By: Kaveh Alla on 2021-03-21 20:26 | [forum:48850] |
Hi, I want to use say 2 out of let's say a set of questions(q1-q5) in my test. Here is how in Documentation is done to get 1 q from a list: myexam <- list("a1.Rmd", "b1.Rmd", c("q1.Rmd", "q2.Rmd","q3.Rmd", "q4.Rmd","q5.Rmd"), "d1.Rmd") How can I do this and to avoid repetition in questions. I am not a R programmer, so not quite sure if this can be done in R or by R/exams command. Bests, Kaveh Al |