Check format of TDLM's inputsSource:
This function checks that the TDLM's inputs have the required format (an names).
a list of vectors. The list can contain one vector. It is recommended to name each element of the list. If
vectors = NULLonly the matrices will be considered.
a list of matrices. The list can contain one matrix. It is recommended to name each element of the list. If
matrices = NULLonly the vectors will be considered (by default).
a character indicating what types of check ("format" or "format_and_names") should be used (see Details).
TDLM's inputs should be based on the same number of
locations sorted in the same order.
check = "format" will run basic checks
to ensure that the structure of the inputs (dimensions, class, type...) is
It is recommended to use the location ID as vector names, matrix rownames and
matrix colnames. Set
check = "format_and_names" to check the inputs'
names. The checks are run successively, so run the function as many times as
needed to get the message indicating that the inputs passed the check
Maxime Lenormand (firstname.lastname@example.org)