CheckListNames: Check the names of a list.

Description Usage Arguments Value

Description

Check that a list has names, and that all these names are valid.

Usage

1
CheckListNames(l, valid.names = colnames(kAllStates))

Arguments

l

the list to be checked.

valid.names

a character vector of valid nmaes.

Value

This function checks the value of l and will signal an error if the check fails. Else, it returns TRUE.


google/amss documentation built on May 20, 2019, 5:05 p.m.