bindKvariables {xegaBNF} | R Documentation |
R-code to bind variable names with values from a vector.
Description
R-code to bind variable names with values from a vector.
Usage
bindKvariables(varSym, vecSym, k)
Arguments
varSym |
String. Variable name (character part). |
vecSym |
String. Vector name. |
k |
Integer. Number of variables. |
Details
Compiles R code for the assignment of a vector
to single variables. The variable names are formed
by catenating the variable name varSym
to
the character string of an integer in 1:k
.
Value
R-code which assigns the content of the vector to a list of k variables with synthetic names.
Examples
bindKvariables("B", "v", 5)
[Package xegaBNF version 1.0.0.5 Index]