checkVarInData: Check if specified variables are in the data. If they are...

checkVarInDataR Documentation

Check if specified variables are in the data. If they are not, they are removed from specified variables and a message is printed.

Description

Check if specified variables are in the data. If they are not, they are removed from specified variables and a message is printed.

Usage

checkVarInData(var, data, label)

Arguments

var

Character vector with variables.

data

Data.frame with data.

label

String with label used in message.

Value

var present in data, NULL if empty


clinUtils documentation built on Jan. 6, 2023, 5:29 p.m.