na_check: NA Check

Description Usage Arguments Value

View source: R/summary_function.R

Description

Check if the measure column is complete. For the problem sets and all algorithms present in the data frame, this function specifies the ratio of existing NAs. If there are any NAs the User can decide to drop all observations for that specific value, since the data frame needs to be complete for testing.

Usage

1
na_check(df, measure = NULL, check_var = NULL)

Arguments

df

('list')
Data frame containing the performane measure.

measure

('character')
Name of the 'measure' column. If not defined, the first 'measure' column in the data frame is used.

check_var

('character')
Column in data frame used to check for NAs. Either "problem" (default) or "algorithm".

Value

('list')
List of Cases, NAs and the NA ratio according to check_var.


RebeccaGroh/seqbtests documentation built on Nov. 17, 2021, 8:50 a.m.