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.
Behavior analysts can now automatically generate specific graphs for single-subject experimental designs using R functions. This package simplifies data visualization, saving time and effort compared to traditional software.
Area of Science:
- Behavioral Science
- Data Visualization
- Research Methodology
Background:
- Single-subject experimental designs are widely used in behavioral analysis.
- Current methods for graphing single-subject data are time-consuming and require costly software licenses.
- Existing tools lack specific features for diverse single-subject design data plotting.
Purpose of the Study:
- To introduce novel R functions for automated plotting of single-subject experimental design data.
- To provide a shareable and user-friendly R package (RDARBS) for behavior science data analysis and representation.
- To streamline the process of creating publication-quality graphs for various single-subject designs.
Main Methods:
- Development of four specialized functions within the R programming language.
- Integration of these functions into a dedicated R package (RDARBS) for easy access and distribution.
- Demonstration of function application using reversal, multi-element, changing criteria, and multiple baseline designs.
Main Results:
- The R package RDARBS successfully automates the generation of plots tailored to specific single-subject experimental designs.
- Functions facilitate the creation of accurate and visually informative graphs, meeting established plotting criteria.
- The package offers a convenient and efficient alternative to manual graphing methods and commercial software.
Conclusions:
- The developed R functions and package offer a significant advancement in visualizing single-subject experimental design data.
- This tool enhances efficiency and accessibility for researchers in behavior analysis and related fields.
- The RDARBS package provides a valuable, cost-effective solution for specialized data representation in behavior science.
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...

