compare_frame_classes: Check each variable of a data frame to determine if there are...

Description Usage Arguments Value

View source: R/miscoding_explorative.R

Description

Check each variable of a data frame to determine if there are enough examples for the number of distinct values. NB: will return a spurious result for continous valued variables.

Check each variable of a data frame to determine if there are enough examples for the number of distinct values. NB: will return a spurious result for continous valued variables.

Usage

1
2
3

Arguments

data

Dataframe of variables for checking

comparison

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

Value

Boolean-vector - FALSE: not enough examples present

Boolean-vector - FALSE: not enough examples present


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