check_criterion {biogram}R Documentation

Check chosen criterion

Description

Checks if the criterion is viable or matches it to the list of implemented criterions.

Usage

check_criterion(input_criterion, criterion_names = c("ig", "kl", "cs"))

Arguments

input_criterion

character string, criterion from input.

criterion_names

list of implemented criterions, always in lowercase.

Value

a list of three:

See Also

Calculate the value of criterion: calc_criterion.


[Package biogram version 1.6.3 Index]