duplicate_drawdowns: Find exact duplicate structures in a collection

View source: R/compare.R

duplicate_drawdownsR Documentation

Find exact duplicate structures in a collection

Description

Find exact duplicate structures in a collection

Usage

duplicate_drawdowns(
  drafts,
  reflect = FALSE,
  transpose = FALSE,
  invert = FALSE,
  max_work = 5e+07
)

Arguments

drafts

A nonempty list of binary drawdowns, optionally uniquely named.

reflect, transpose, invert

Transformation flags.

max_work

Cell-comparison budget per canonicalization.

Value

A data frame of draft names, group numbers, first representative and canonical keys. Groups follow first occurrence, including singleton groups.

Examples

a <- matrix(c(1, 0, 0, 1), 2)
duplicate_drawdowns(list(first = a, shifted = shift_drawdown(a, 1)))

weaveCompare documentation built on Nov. 9, 2026, 1:10 a.m.