R/qgis_nearestneighbouranalysis.R
qgis_nearestneighbouranalysis.Rd
QGIS Algorithm provided by QGIS (native c++) Nearest neighbour analysis (native:nearestneighbouranalysis). This algorithm performs nearest neighbor analysis for a point layer. The output describes how the data are distributed (clustered, randomly or distributed). Output is generated as an HTML file with the computed statistical values.
qgis_nearestneighbouranalysis(
INPUT = qgisprocess:::qgis_default_value(),
OUTPUT_HTML_FILE = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)
source
- Input layer. Path to a vector layer.
fileDestination
- Nearest neighbour. Path for new file.
further parameters passed to qgisprocess::qgis_run_algorithm()
logical specifying if complete out of qgisprocess::qgis_run_algorithm()
should be used (TRUE
) or first output (most likely the main) should read (FALSE
). Default value is TRUE
.
logical specifying if parameter .quiet
for qgisprocess::qgis_run_algorithm()
Default value is TRUE
.
logical specifying if messages from qgisprocess::qgis_run_algorithm()
should be printed (TRUE
) or not (FALSE
). Default value is FALSE
.
EXPECTED_MD - outputNumber - Expected mean distance
NN_INDEX - outputNumber - Nearest neighbour index
OBSERVED_MD - outputNumber - Observed mean distance
OUTPUT_HTML_FILE - outputHtml - Nearest neighbour
POINT_COUNT - outputNumber - Number of points
Z_SCORE - outputNumber - Z-score