--
You received this message because you are subscribed to the Google Groups "formr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to formr+un...@googlegroups.com.
To post to this group, send email to fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/formr/5fddcddf-9df4-4761-b6e3-a08755dac118%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Katerina,you can put the following in a calculate field's value column:set.seed(100)planned_sample_size <- 300groups <- 3psych::block.random(planned_sample_size, groups)[.formr$nr_of_participants, 2]Put in some random seed and choose the number of participants that youplan to recruit.You will have to manually end the study when you have reached your plannedsample size, or put something in your run that deals with the case when you runout of numbers.Best,
Ruben
On Sun, Mar 31, 2019 at 3:36 AM Katerina M. <epi...@gmail.com> wrote:
--Hi everyone!My apologies if this has been asked before, but I'm trying to find a way to assign the same number of participants to each random group in my run. I have three different between-subjects conditions as different survey sheets, and I have used shuffle to randomise assignment to each one. However, I would like to have a balanced number of responses across all conditions. I think that the block.random function from the psych package would be useful for that, but I'm not sure how to add it as a calculate-type item to my survey sheets.Any help would be greatly appreciated! :)Thanks a lot,Katerina
You received this message because you are subscribed to the Google Groups "formr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fo...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to formr+un...@googlegroups.com.
To post to this group, send email to fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/formr/37d0b6da-71a8-4de5-b300-c073b42dcf00%40googlegroups.com.