# NOT RUN {
#- import file
tls=data.table::fread(system.file("extdata", "Tree_t0.asc", package="VoxR"))
#- resolution = 0.02m
voxels_002 = VoxR::vox(tls,res=0.02) # voxelisation
VoxR::plot_voxels(voxels_002) # voxels plot
#- resolution = 0.2m
voxels_02 = VoxR::vox(tls,res=0.2) # voxelisation
VoxR::plot_voxels(voxels_02) # voxels plot
# }
Run the code above in your browser using DataLab