as_cuboid()
expand a coordinate set to a binary cuboid with zero-padding.
The data.frame representation is ordered in the same way as the array representation.
They have some extra attributes to ensure round-trip conversion.
Usage
as_cuboid(x, expand = 0L)
# S3 method for cuboid
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
# S3 method for cuboid
as.array(x, ...)