checkingvariables: Cleaning checks

Description Usage Arguments Value

View source: R/cleaning_check.R

Description

Function showing a summary of the variable and the number of missings for data cleaning

Usage

1
checkingvariables(data, variable, tosplitby, makefactor = NA)

Arguments

data

The data to use. Not in quotes

variable

The variable to use.formatted as data$variable - in quotes

tosplitby

The variable to split the missings by - in quotes

makefactor

if not NA, makes variable is turned to factor

Value

If the variable is a character or factor, the number of non-missing levels and


gronert-m/sciCoverageR documentation built on Nov. 23, 2020, 10:33 p.m.