restring {ivmte} | R Documentation |
Auxiliary function that converts an expression of variable names into a vector of strings.
Description
Auxiliary function that converts an expression of variable names into a vector of strings.
Usage
restring(vector, substitute = TRUE, command = "c")
Arguments
vector |
An expression of a list of variable names. |
substitute |
Boolean option of whether or not we wish to use
the |
command |
character, the name of the function defining the vector or list, e.g. "c", "list", "l". This let's the function determine how many characters in front to remove. |
Value
A vector of variable names (strings).
Examples
a <- 4
b <- 5
ivmte:::restring(c(a, b), substitute = TRUE)
ivmte:::restring(c(a, b), substitute = FALSE)
[Package ivmte version 1.4.0 Index]