checkVar: Check if specified variable(s) are present in the data.

View source: R/miscellaneous.R

checkVarR Documentation

Check if specified variable(s) are present in the data.

Description

Check if specified variable(s) are present in the data.

Usage

checkVar(var, data)

Arguments

var

Character vector with variable(s) of interest.

data

Data.frame with data.

Value

No returned value, an error message is triggered if some variable(s) are not available in the data.

Author(s)

Laure Cougnaud


patientProfilesVis documentation built on Nov. 18, 2022, 5:12 p.m.