levelCheck {klassR}R Documentation

Check which level the input data/vector is

Description

The input level is calculated as the mode (most common) hierarchical level in the input vector.

Usage

levelCheck(x, klass_data)

Arguments

x

- vector of character

klass_data

- - the right formatting to the classification levels

Value

The hierarchical level of the input data is returned.


[Package klassR version 1.0.1 Index]