measure the distance to the nearest neighbour for N_sample
voxels and guess the resolution:
the majority wins.
guess_resolution(data, N_sample, message)
a data.frame or data.table containing the x, y, z, ... coordinates of a voxel cloud.
numeric. The number of voxels to sample. Default = 100.
logical. FALSE desables the message.
the guessed resolution.