as_drawdown: Validate a binary weaving drawdown

View source: R/compare.R

as_drawdownR Documentation

Validate a binary weaving drawdown

Description

Validate a binary weaving drawdown

Usage

as_drawdown(x)

Arguments

x

A nonempty logical or numeric binary matrix. A weaveDraft weave_draft object is also accepted through its drawdown member.

Value

An integer matrix, with rows representing picks and columns ends.

Examples

as_drawdown(matrix(c(1, 0, 0, 1), 2))

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