checkType {readMLData} | R Documentation |
Compares the type of columns stored in dsList
and in a data set
itself.
Description
Compares types.
Usage
checkType(dsList, id, dat=NULL)
Arguments
dsList |
Data frame describing the data sets as produced by |
id |
Numeric or character of length one. Index or the identification of a data set. |
dat |
An optional data frame as read by |
Value
The name of the tested data set and the result of the test is printed.
If errors are found, a more detailed message is printed. The output value
is TRUE
or FALSE
invisibly according, whether the types are
correct or not.
Author(s)
Petr Savicky
See Also
Examples
pathData <- getPath("exampleData")
pathDescription <- getPath("exampleDescription")
dsList <- prepareDSList(pathData, pathDescription)
checkType(dsList, 1)
[Package readMLData version 0.9-7 Index]