quantity(design, MT, limit, starts = file.choose(new = FALSE))"AB", "ABA", "ABAB", "CRD" (completely randomized design), "RBD" (randomized block design), "ATD" (alternating treatments design), or "MBD"starts argument, only the design argument is required for multiple baseline designs. In this default version a window pops up in which is asked in what file the possible start points can be found. In this startpoint file, each row should contain all possibilities for one unit, separated by a tab. The rows and columns should not be labeled.
The number of possible assignments for a multiple baseline design is calculated assuming NO overlap between the possible start points of the different units (staggered administration).assignments to enumerate all assignment possibilities.
selectdesign to randomly select one of the assignment possibilities.quantity(design = "ABAB", MT = 24, limit = 4)Run the code above in your browser using DataLab