a valid value for that component of
dimnames (x) . For a matrix or array this is either
NULL or a character vector of non-zero length equal to the
In R, a dataframe is a list of vectors of the same length. They don't have to be of the same type. For instance, you can combine in one dataframe a logical, a character and a numerical vector.