validate.names: Name validation (## )Helper function not intended to be...

View source: R/SaemixData.R

validate.namesR Documentation

Name validation (## )Helper function not intended to be called by the user)

Description

Helper function, checks if the names given by the user match to the names in the dataset. If not, automatic recognition is attempted when automatic=TRUE.

Arguments

usernames

vector of strings

datanames

vector of strings

recognisednames

vector of strings, values for automatic recognition

verbose

logical, whether to print warning messages

automatic

a boolean indicating whether to attempt automatic name recognition when some colum names are missing or wrong (defaults to TRUE)

Value

a vector with valid names

Examples

# TODO

saemix documentation built on July 9, 2023, 7:43 p.m.