Learn R Programming

scanstatistics (version 0.1.0)

validate_colnames: Check that the input table has the right columns. Raises error if not.

Description

Check that the input table has the right columns. Raises error if not.

Usage

validate_colnames(table, col_names)

Arguments

table

A data.table passed to a scan statistic function.

col_names

A character vector of column names required.