Related Experiment Video
Updated: May 22, 2025

A Within-Subject Experimental Design using an Object Location Task in Rats
Published on: May 6, 2021
Creating Plots for Single-Subject Research Designs in R
Jorge A Ruiz1, Cristina G Guerrero Sánchez1
1Centro de Estudios E Investigaciones en Conocimiento y Aprendizaje Humano, Universidad Veracruzana, Xalapa, Veracruz México.
Abstract:
The use of single-subject research designs is common among behavior analysts, as well as among other professionals interested in the study of behavior. Although there are clear guidelines for creating graphs to represent data collected with these designs, the type of tools used to produce them requires considerable time and effort to cover the specific criteria to plot data for each type of design and always involves the purchase of a software's license. This manuscript describes four functions created in R language to automatically produce plots with specific characteristics for data collected using single-subject experimental designs. These functions were included in a package created in R to facilitate their sharing, installation, and use (R package for data analysis and representation in behavior science, https://github.com/ruizvja/RDARBS). The application of these functions is exemplified for the cases of reversal design, multi-element design, changing criteria, and multiple baseline. The relevance and convenience of functions is illustrated and discussed in the context of other proposals that have been made for the specialized production of plots for single-subject research designs.
More Related Videos
Related Concept Videos
Study Design in Statistics
Does aspirin reduce the risk of heart attacks? Is one brand of fertilizer more effective at growing roses than another? Is fatigue as dangerous to a driver as the influence of alcohol? Questions like these are answered using randomized experiments with proper...
Group Design
Experimental Designs
Interpreting R Charts
An R chart plots the range of subsets of measurements collected from a process. Each point on the chart represents the range—defined as the difference between the maximum and minimum...
Comparing the Survival Analysis of Two or More Groups
Study Designs in Epidemiology
Observational studies are those where the researcher does not intervene but rather observes natural variations. They include cross-sectional, cohort, and...

