checkFormatVariable: Function to check the correct format of a variable of a...

View source: R/checkFormatVariable.R

checkFormatVariableR Documentation

Function to check the correct format of a variable of a dataframe obtained by importMuestreosUP() function.

Description

The format of the variables is in dataset variables_format.

Usage

checkFormatVariable(df, var_to_check)

Arguments

df:

dataframe with the format variable to check

var_to_check:

variable to check

Value

TRUE if the format is correct. Return a named list of vectors if there are any mistake. The name of the vector is the variable with errors. Every vector contains list of index with errors.


Eucrow/sapmuebase documentation built on April 12, 2024, 4:23 a.m.