This function generates the original LSD variable name, as it was defined in LSD and before R adjusts the name, from a R column name (with or without position or timing information appended).
Usage
name.var.lsd( r.name )
Value
A string or a string vector with the same attributes as x (after possible coercion).
Arguments
r.name
a string, a vector of strings, or an object which can be coerced to a character vector by as.character, from the column names produced by reading a LSD results file.
Author
Marcelo C. Pereira
Details
The conversion may be incorrect if the original LSD variable is named in the format "X_...". No checking is done to make sure the variable really exists.