check_names: Check column names

Description Usage Arguments Value Examples

View source: R/check_structure.R

Description

Check if column names that were passed by User are contained in the data frame.

Usage

1
2
3
4
5
6
7
check_names(
  df,
  problem = NULL,
  baseline = NULL,
  algorithm = NULL,
  measure = NULL
)

Arguments

df

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

problem

('character')
Problem set used to evaluate the algorithms performance. Value in 'problem' column.

baseline

('character')
First algorithm. Value in 'algorithm' column.

algorithm

('character')
Second algorithm. Value in 'algorithm' column. If not defined, the baseline is tested against all algorithms in the data frame.

measure

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

Value

('logical')
TRUE if test was successful.

Examples

1

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