getParameter {AMAPVox} | R Documentation |
Gets a parameter from the VoxelSpace header.
Description
Gets a parameter from the VoxelSpace header.
Usage
getParameter(vxsp, what)
## S4 method for signature 'VoxelSpace,character'
getParameter(vxsp, what)
## S4 method for signature 'VoxelSpace,missing'
getParameter(vxsp, what)
Arguments
vxsp |
the |
what |
the name of the parameter. If missing returns all parameters. |
Value
the parameter as a character
See Also
Examples
# load a voxel file
vxsp <- readVoxelSpace(system.file("extdata", "tls_sample.vox", package = "AMAPVox"))
# show parameters name
names(getParameter(vxsp))
# retrieve 'mincorner' parameter
getParameter(vxsp, "mincorner")
# all parameters
getParameter(vxsp)
[Package AMAPVox version 2.2.1 Index]