Concatenating matrix columns to get a vector


#1

Hi,

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.


#2

to_vector


#3

thank you!