classify_kmeans: Classify by kmeans

View source: R/classify.R

classify_kmeansR Documentation

Classify by kmeans

Description

Classify a integer or numeric raster using intervals calculated by kmeans cluster

Usage

classify_kmeans(r, num_cluster = 5, decimal_places = 2)

Arguments

r

SpatRaster raster to be classified

num_cluster

number of clusters to be processed

decimal_places

define the number of decimal places to legend

Value

SpatRaster with a categorical raster

Examples

# rk = classify_kmeans(r, 4, decimal_places = 0)

elpidiofilho/mdsFuncs documentation built on April 14, 2022, 5:40 p.m.