sits_cluster_frequency: Show label frequency in each cluster produced by dendrogram...

View source: R/sits_cluster.R

sits_cluster_frequencyR Documentation

Show label frequency in each cluster produced by dendrogram analysis

Description

Show label frequency in each cluster produced by dendrogram analysis

Usage

sits_cluster_frequency(samples)

Arguments

samples

Tibble with input set of time series with additional cluster information produced by link[sits]{sits_cluster_dendro}.

Value

A matrix containing frequencies of labels in clusters.

Author(s)

Rolf Simoes, rolf.simoes@inpe.br

Examples

if (sits_run_examples()) {
    clusters <- sits_cluster_dendro(cerrado_2classes)
    freq <- sits_cluster_frequency(clusters)
    freq
}

sits documentation built on Sept. 11, 2024, 6:36 p.m.