readVoxelSpace: Read a voxel file

View source: R/ReadVoxelSpace.R

readVoxelSpaceR Documentation

Read a voxel file

Description

read a voxel file and cast it into a VoxelSpace object.

Zipped voxel file is accepted. AMAPVox uses user cache directory to unzip the file (rappdirs::user_cache_dir()).

Usage

readVoxelSpace(f)

Arguments

f

The path of the voxel file.

See Also

writeVoxelSpace()

Examples

# load a voxel file
vxsp <- readVoxelSpace(system.file("extdata", "tls_sample.vox", package = "AMAPVox"))

AMAPVox documentation built on July 9, 2023, 5:32 p.m.