SCM

Forum: support

Monitor Forum | Start New Thread Start New Thread
RE: Random and Fixed exercise selection [ reply ]
By: michael schulte on 2017-05-24 11:26
[forum:45157]
works like a charm - thanks!

RE: Random and Fixed exercise selection [ reply ]
By: Achim Zeileis on 2017-05-24 10:51
[forum:45156]
Just provide a vector in nsamp:

exams2pdf(myexam, n = 2, nsamp = c(2, 2, 1))

Random and Fixed exercise selection [ reply ]
By: michael schulte on 2017-05-24 09:41
[forum:45155]
Hi,

I would like to random sample some exercises but have other fixed in the exam.

So from these exercises:

myexam <- list(c("L11","L12","L13"),
c("L21","L22","L23"),
"Fixed1")

I would like to get 2 different exams with 5 exercises each.
2 from c("L11","L12","L13")
2 from c("L21","L22","L23")
and in both Fixed1.

when I run:
exams2pdf(myexam, n = 2, nsamp=2)

this all works fine, but I get Fixed1 in each exam twice ...

any idea on this?

thanks
michael


Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge