inspect.data: To check a dataset

Usage Arguments Author(s) Examples

View source: R/inspect.data.R

Usage

1
inspect.data(data, info, id, check_missing, plot = FALSE, prefix = "", outdir)

Arguments

data

Dataset to be checked

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)
invisible(inspect.data(formatted_dat, info = info, plot = FALSE, prefix = ""))

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