Learn R Programming

TreeLS (version 2.0.2)

smp.randomize: Point sampling algorithm: random sample

Description

This function is meant to be used inside tlsSample. It selects points randomly, returning a fraction of the input point cloud.

Usage

smp.randomize(p = 0.5)

Arguments

p

numeric - sampling probability (from 0 to 1).