TrimVar | R Documentation |
TrimVar()
is a function that allows you to remove whitespace inside the
strings of a vector.
TrimVar(data, trim.vector)
data |
dataset |
trim.vector |
vector of variables on the dataset to be trimmed |
This function returns a vector removing trailing and leading spaces inside the original vector.
head(m0$TrimVar(cp025q01, "event"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.