Concatenating matrix columns to get a vector


How can I concatenate the columns of a matrix to obtain a unique vector containing the concatenation of the columns?

Thank you very much!
PS: I have not been able to find the answer to this question online, and I am a beginner with Rstan.


1 Like

thank you!