powered by
read a voxel file and cast it into a VoxelSpace object.
VoxelSpace
Zipped voxel file is accepted. AMAPVox uses user cache directory to unzip the file (rappdirs::user_cache_dir()).
rappdirs::user_cache_dir()
readVoxelSpace(f)
The path of the voxel file.
writeVoxelSpace()
# load a voxel file vxsp <- readVoxelSpace(system.file("extdata", "tls_sample.vox", package = "AMAPVox"))
Run the code above in your browser using DataLab