two_by_two: Two by Two

View source: R/two_by_two.R

two_by_twoR Documentation

Two by Two

Description

Generate the "two by two" table of results observed in the evaluation vs. those expected based on the ground truth in the panel.

Usage

two_by_two(panel_data, evaluation_data)

Arguments

panel_data

The result of read_panel().

evaluation_data

The result of read_evaluation().

Value

A two-by-two table of outcomes

Examples

two_by_two(dxr::example_panel_1, dxr::example_evaluation_1)

bjoleary/dxr documentation built on Dec. 5, 2023, 8:33 p.m.