Validation of LogMap objects is handled by validObject

Data Validation

Logical maps must be a logical matrix containing only TRUE or FALSE values

Value Validation

All values must be named within the rownames of the object. Duplicate or empty ("") values are not allowed

Observation Validation

All observations must be named within the column names of the object. Duplicate or empty ("") observations are not allowed

See also

validObject

Logical map objects, validity, and interaction methods: LogMap, as.matrix.LogMap(), droplevels.LogMap(), intersect.LogMap(), labels.LogMap()

Examples

map <- LogMap(letters[1:10])
map[['obs']] <- c(1, 3, 7)
map[['entry']] <- c(2, 7, 10)
validObject(map)
#> [1] TRUE