na_drop: Drop NAs by groups

Description Usage Arguments Value

View source: R/summary_function.R

Description

Drop group of rows that contain any NA depending on values of check_var.

Usage

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

Arguments

df

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

check_var

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

measure

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

Value

('list')
New data frame without NAs.


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