Learn R Programming

patientProfilesVis (version 2.0.8)

checkVar: 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)

Value

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

Arguments

var

Character vector with variable(s) of interest.

data

Data.frame with data.

Author

Laure Cougnaud