observed(design, statistic, data = read.table(file.choose(new = FALSE)))"AB", "ABA", "ABAB", "CRD" (completely randomized design), "RBD" (randomized block design), "ATD" (alternating treatments design), or "MBD""A-B", "B-A", and "|A-B|", which stand for the (absolute value of the) difference between cdata argument, a window will pop up to ask in what file the data can be found. This text file containing the data should consist of two columns for single-case phase and alternation designs: the first with the condition labels and the second with the obtained scores.
For multiple-baseline designs it should consist of these two columns for EACH unit. This way, each row represents one measurement occasion. It is important not to label the rows or columns.distribution.systematic to generate the exhaustive randomization distribtion and
pvalue.systematic to obtain the corresponding p-value.
distribution.random to generate the nonexhaustive randomization distribution and
pvalue.random to obtain the corresponding p-value.data(ABAB)
observed(design = "ABAB", statistic = "AA-BB", data = ABAB)Run the code above in your browser using DataLab