Is there a way of passing a matrix as an argument to a program ? My
first hunch (below) didn't work
program define simulerpox
syntax, duration(int) pattern(matrix)
...
end
Because my matrix really is a vector, I have thought about passing it as a numlist . However, my understanding is that I cannot easily get access to the individual element of the numlist whereas this is possible with the matrix using the "el" function