getParameter {AMAPVox}R Documentation

Gets a parameter from the VoxelSpace header.

Description

Gets a parameter from the VoxelSpace header.

Usage

getParameter(object, what)

## S4 method for signature 'VoxHeader,character'
getParameter(object, what)

## S4 method for signature 'VoxelSpace,character'
getParameter(object, what)

Arguments

object

either the VoxelSpace-class object or the associated VoxHeader-class

what

the name of the parameter

Value

the parameter as a character

See Also

VoxHeader-class, VoxelSpace-class;

Examples

# load a voxel file
vox <- readVoxelSpace(system.file("extdata", "als_sample.vox", package = "AMAPVox"))
# retrieve 'min_corner' parameter
getParameter(vox, "min_corner")

[Package AMAPVox version 0.1.0 Index]