Learn R Programming

cayleyR (version 0.2.1)

filter_middle_states: Filter Middle States

Description

Removes the first and last steps from each combo within cycle data, keeping only middle states.

Usage

filter_middle_states(data, skip_first = 2, skip_last = 2)

Value

Data frame with filtered states

Arguments

data

Data frame with step and combo_number columns

skip_first

Integer, number of initial steps to skip per combo

skip_last

Integer, number of final steps to skip per combo