Learn R Programming

VoxR (version 1.0.0)

guess_resolution: Guess the voxel resolution in a voxel cloud

Description

measure the distance to the nearest neighbour for N_sample voxels and guess the resolution: the majority wins.

Usage

guess_resolution(data, N_sample, message)

Arguments

data

a data.frame or data.table containing the x, y, z, ... coordinates of a voxel cloud.

N_sample

numeric. The number of voxels to sample. Default = 100.

message

logical. FALSE desables the message.

Value

the guessed resolution.