Learn R Programming

saros (version 1.6.1)

get_target_categories: Get target categories for positional sorting

Description

Uses subset_vector to determine which categories to include based on positional methods like .top, .bottom, .upper, .lower, etc.

Usage

get_target_categories(data, method)

Value

Character vector of target category names

Arguments

data

Dataset with .category column

method

Positional method (.top, .bottom, .upper, .lower, etc.)