rank_dsp: Rank Treatments based on Functional DSP Descriptors

View source: R/functional_dsp.R

rank_dspR Documentation

Rank Treatments based on Functional DSP Descriptors

Description

Generates rankings of treatments based on extracted DSP functional descriptors.

Usage

rank_dsp(
  summary_data,
  metrics = c("protected_area", "max_suppression", "persistence", "centroid"),
  higher_is_better = TRUE,
  group = NULL,
  ties.method = "average"
)

Arguments

summary_data

The tibble output from functional_summary.

metrics

Character vector of metrics to rank.

higher_is_better

Logical vector or named logical vector indicating if higher values are better for each metric. If a single logical, applies to all.

group

Optional character vector of grouping variables.

ties.method

Character string specifying how to handle ties. Default is "average".

Value

A tibble with ranks for each specified metric, and an average_rank.


r4pde documentation built on Sept. 8, 2026, 1:10 a.m.