Skip to contents

Ensures that the slots in the SOM object have the correct dimensions. Function will update some slots to their full dimensions.

Usage

check_SOM(SOM, silent = FALSE)

Arguments

SOM

SOM object

silent

Logical, whether to report progress in console

Value

Updated SOM object with full dimensions in various slots, with an attribute to identify whether the check has been performed.

Examples

SOM_checked <- check_SOM(simple_SOM, silent = TRUE)
attr(SOM_checked, "checked")
#> [1] TRUE