checkType: checkType Gives feedback on whether a variable matches the...

View source: R/checkType.R

checkTypeR Documentation

checkType Gives feedback on whether a variable matches the type specified.

Description

checkType Gives feedback on whether a variable matches the type specified.

Usage

checkType(data, varname, type = c("character", "date", "factor", "numeric"))

Arguments

data

The dataset

varname

The var

type

The expeted type

Value

report

Examples

## Not run: 
   checkType(data,var)

## End(Not run)


Epiconcept-Paris/STRAP-epiuf documentation built on Aug. 5, 2024, 3:41 a.m.