is_lookup_table {netmap}R Documentation

Is data frame a lookup table?

Description

Checks whether a data.frame is a valid lookup table.

Usage

is_lookup_table(lkp, m_name = NULL, n_name = NULL)

Arguments

lkp

A data.frame.

m_name

Optional, a character string with the name of the column in lkp to check against m.

n_name

Optional, a character string with the name of the column in lkp to check against n.

Value

FALSE on error, a vector with m_name and n_name if the lookup table is valid.


[Package netmap version 0.1.4 Index]