checkType: Compares the type of columns stored in 'dsList' and in a data...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/check.R

Description

Compares types.

Usage

1
checkType(dsList, id, dat=NULL)

Arguments

dsList

Data frame describing the data sets as produced by prepareDSList().

id

Numeric or character of length one. Index or the identification of a data set.

dat

An optional data frame as read by dsRead(dsList, id, keepContents=TRUE).

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

readMLData.

Examples

1
2
3
4
  pathData <- getPath("exampleData")
  pathDescription <- getPath("exampleDescription")
  dsList <- prepareDSList(pathData, pathDescription)
  checkType(dsList, 1)

readMLData documentation built on May 2, 2019, 7:49 a.m.