filterMissingInVar: Filter missing records in data in the time and y variables,...

View source: R/miscellaneous.R

filterMissingInVarR 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


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