Learn R Programming

lpanda (version 0.2.1)

sample_no_switching: Sample Dataset Without Candidate Switching

Description

A variant of sample_data in which candidates may run in multiple elections, but always remain within the same political group. In other words, they never switch between candidate list clusters, which makes the dataset useful for testing continuity logic under stable group membership (verifying that no cross-group transitions occur).

Usage

sample_no_switching

Arguments

Format

A data frame with 15 rows and 5 variables (same structure as sample_data).

Examples

Run this code
# Basic inspection
str(sample_no_switching)

# Quick continuity diagram (basic and unformatted version)
plot_continuity(sample_no_switching)

Run the code above in your browser using DataLab