spam (version 2.10-0)

validate_spam: Validate a Sparse Matrix

Description

Checks if the sparse matrix has the correct structure.

Usage

validate_spam(object)

Value

Returns TRUE if object is a valid spam objects.

Arguments

object

a spam matrix.

See Also

spam.creation

Examples

Run this code
validate_spam(spam(1, 20))

Run the code above in your browser using DataLab