report.error: To report error

Description Usage Arguments Author(s) Examples

View source: R/report.error.R

Description

To report error

Usage

1
report.error(data, id, criteria, message, csv.file, print = FALSE)

Arguments

data

Dataset to check

Author(s)

Phung Khanh Lam

Examples

1
2
3
4
5
6
7
8
9
info <- data.frame(varname = c("Sepal.Length", "Petal.Width", "Species"),
                   label = c("Length of sepal", "Width of petal", "Species"),
                   type = c("numeric", "numeric", "factor"),
                   unit = NA,
                   value = NA,
                   levels = NA,
                   missing = NA)
formatted_dat <- format.data(iris, info = info)
report.error(data = "formatted_dat", criteria = "Sepal.Length < 5", message = "Sepal.Length < 5")

lampk/Lmisc documentation built on Aug. 13, 2019, 8:02 a.m.