compare_classes: Checks if there are enough examples for the number of classes...

Description Usage Arguments Value

View source: R/miscoding_explorative.R

Description

Checks if there are enough examples for the number of classes in a variable.

Checks if there are enough examples for the number of classes in a variable.

Usage

1
2
3
compare_classes(values, comparison = sqrt_comparison)

compare_classes(values, comparison = sqrt_comparison)

Arguments

values

Vector of observations

comparison

[optional] A function to compare the number of unique classes with the number of observations.

Value

Boolean - FALSE: not enough examples present

Boolean - FALSE: not enough examples present


Stat-Cook/NURS.Data.Quality documentation built on Dec. 18, 2021, 2:09 p.m.