drop_disqualified_columns: Drops disqualified columns in both expected and observed...

View source: R/chi_square_goodness_of_fit_functions.R

drop_disqualified_columnsR Documentation

Drops disqualified columns in both expected and observed table if in expected table at least one cell in that column has expected value < 5, conforming to the principles of chi square test.

Description

Drops disqualified columns in both expected and observed table if in expected table at least one cell in that column has expected value < 5, conforming to the principles of chi square test.

Usage

drop_disqualified_columns(observed_table, expected_table, freq = TRUE)

Arguments

observed_table

Observation table for chi square test

expected_table

Expected table for chi square test

freq

TRUE or FALSE: Whether the input expected table is in decimal.

Value

A list with modified observed_table and expected_table


jlederluis/digitanalysis documentation built on Nov. 5, 2023, 11:46 a.m.