Learn R Programming

AMAPVox (version 2.2.1)

tools: Tools inherited from base R for VoxelSpace object.

Description

Tools inherited from base R for VoxelSpace objects.

Usage

# S4 method for VoxelSpace
show(object)

# S3 method for VoxelSpace print(x, ...)

# S3 method for VoxelSpace length(x)

# S3 method for VoxelSpace dim(x)

is.VoxelSpace(x)

# S4 method for VoxelSpace ncol(x)

# S4 method for VoxelSpace nrow(x)

# S3 method for VoxelSpace names(x)

Arguments

object

a VoxelSpace object.

x

a VoxelSpace object.

...

further arguments passed to print function.

Note on <code>length.VoxelSpace</code>

AMAPVox allows to discard empty voxels in the voxel file. In such case length.VoxelSpace will return the expected number of voxels as if none were missing. As a consequence the number of voxels stored in the VoxelSpace object may be inferior to the returned value, namely nrow(x) <= length(x)