data_check: data_check

View source: R/data_check.R

data_checkR Documentation

data_check

Description

Provides a table with info on missingness and variable type for the input dataset.

Usage

data_check(.data, .caption = "", .print = TRUE, .sort_by_na = FALSE)

Arguments

.data

A data.frame or tibble.

.caption

A character vector used as the caption of the output.

.print

If .print = TRUE, an HTML output is generated, else a matrix is returned.

.sort_by_na

If TRUE, results are sorted by the number of NAs.

Value

Either a HTML output for use in Markdown files or a matrix.

Examples

-

janbrederecke/prepareD documentation built on Oct. 26, 2022, 8:06 p.m.