validate_weights_matrix {metasnf}R 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.


[Package metasnf version 2.1.2 Index]