validate_weights_matrix: Validator for 'weights_matrix' class object

View source: R/weights_matrix.R

validate_weights_matrixR Documentation

Validator for weights_matrix class object

Description

Validator for weights_matrix class object

Usage

validate_weights_matrix(wml)

Arguments

wml

A weights_matrix-like matrix object to be validated.

Value

If wml has a valid structure for a weights_matrix class object, returns the input unchanged. Otherwise, raises an error.


metasnf documentation built on April 3, 2025, 5:40 p.m.