givemat: Variable assignment from a character string
Description
Assign the value to a variable from the a command string.
Usage
givemat(name, nl = NULL, ndim = NULL)
Arguments
name
character string with the name of the variable to be assigned
nl
numeric integer with the length in case of vector
ndim
numeric vector with c(nr,nc) the number of rows and column in case of matrix
Value
Details
This function is used to pass whatever variable to a function through a graphical menu compiled by the user. The character string could be the name of the variable, i.e. A or a more complex syntax
i.e. A[1:2,] or A[c(1:3),4]. The required values must be already defined in the calling environment (i.e. the Global).