filterMissingInVar {patientProfilesVis}R Documentation

Filter missing records in data in the time and y variables, with informative message.

Description

Filter missing records in data in the time and y variables, with informative message.

Usage

filterMissingInVar(
  data,
  var,
  varLab = getLabelVar(var, labelVars = labelVars),
  labelVars = NULL
)

Arguments

data

Data.frame with data.

var

String with variable of interest.

varLab

String, label for var.

labelVars

Named character vector with variable labels (names are the variable code)

Value

Update data with filtered records + message in the console.

Author(s)

Laure Cougnaud


[Package patientProfilesVis version 2.0.9 Index]