Learn R Programming

klassR (version 0.2.3)

levelCheck: Check which level 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)

Value

The hierarchical level of the input data is returned.

Arguments

x

- vector of character

klass_data

- - the right formatting to the classification levels