# Create a LogMap
map <- LogMap(letters[1:10])
map
# Get the names of values in the LogMap
map[[NULL]]
rownames(map)
# Add an observation to the LogMap
map[['obs']] <- c(1, 3, 7)
map[['entry']] <- c(2, 7, 10)
map
# Get the names of observations in the LogMap
colnames(map)
# Fetch an observation from the LogMap
map[['obs']]
# Get the full logical matrix
map[[]]
# Remove an observation from the LogMap
map[['obs']] <- NULL
map[['entry']] <- NULL
map
Run the code above in your browser using DataLab