internal.mapaccuracy {mapaccuracy}R Documentation

Internal functions.

Description

Internal functions to be called from within another functions.

Usage

.check_classes(x, ...)

.check_factors(x, ...)

.check_labels(x, ...)

.check_length(...)

Arguments

x

expected objects (character vector)

...

arguments to be checked.

Details

.check_classes checks (tests) if the arguments passed to functions comply with their expected classes.

.check_labels checks (tests) if the character arguments passed to functions comply with their expected content.

.check_length checks (tests) if the length of objects match.

Value

Error message if the test fails. Nothing if the test passes.


[Package mapaccuracy version 0.1.2 Index]