calculate_multiple_category_order: Calculate ordering based on multiple category values

View source: R/sorting_utils.R

calculate_multiple_category_orderR Documentation

Calculate ordering based on multiple category values

Description

Calculate ordering based on multiple category values

Usage

calculate_multiple_category_order(data, category_values, descend = FALSE)

Arguments

data

Dataset with .category and .count columns

category_values

Vector of category values to sum (e.g., c("A bit", "A lot"))

descend

Logical indicating if sorting should be descending

Value

Numeric vector of ordering values


saros documentation built on Nov. 10, 2025, 5:06 p.m.