Normally a modelValues object is accessed one "row" at a time. This function allows all rows for one variable to set from a matrix with one dimension more than the variable to be set.
Rmatrix2mvOneVar(mat, mv, varName, k)
Input matrix
modelValues object to be modified.
Character string giving the name of the variable on mv
to be set
Number of rows to use
This function may be deprecated in the future when a more natural system for interacting with modelValues objects is developed.