truth_table: Constructs a count of how many entries are in which truth...

Description Usage Arguments See Also

View source: R/statistics.R

Description

The behavior for NA is important here. If the expected value is NA, then this truth table ignores that entry, even if it's in the observed. We do this because we are looking at map data where NA represents places outside the map. Meanwhile, if the observed is NA, then we count that as false because it won't meet the condition.

Usage

1
truth_table(condition, expected, observed)

Arguments

condition

A function which, when applied to inputs, gives true and false.

expected

The gold standard for what's true and false.

observed

What is observed as true and false.

See Also

accuracy_profile


dd-harp/population_comparison_bioko documentation built on Feb. 28, 2021, 11:05 p.m.