Skip to content

Repository contains source codes of a shiny web application that can be used to generate block randomized trials.

License

Notifications You must be signed in to change notification settings

Depthgr8/Block_randomization

Repository files navigation

Block_randomization

Repository contains R scripts and Shiny web app that can be used to generate block randomized trials for experiments.


Features of v_1.0

  • Generate randomized trials as per user defined parameters
  • Export generated data in .CSV or .TXT or .TSV file format

Instructions

  • For 150 trials enter trials = 150
  • Factor = Desired block trials / number of cases
  • Example: To produce a block of 6 trials with 2 cases such as 'control' or 'treatment'
  • Enter factor = 3 and cases = 2 , since 3 * 2 = 6

Application screenshot

block_randomized_trials


Credits

  • Team - Psych R package
  • Team - Shiny R package
  • R enthusiasts who shared their codes willingly.