View source: R/miscellaneous.R
filterMissingInVar | R Documentation |
Filter missing records in data in the time and y variables, with informative message.
filterMissingInVar(
data,
var,
varLab = getLabelVar(var, labelVars = labelVars),
labelVars = NULL
)
data |
Data.frame with data. |
var |
String with variable of interest. |
varLab |
String, label for |
labelVars |
Named character vector with variable labels (names are the variable code) |
Update data with filtered records + message in the console.
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.