powered by
Restores the symmetric matrix from the Vech command
VechM(vec)
A vector representing the half-stacking of a symmetric matrix
A symmetric matrix
This command re-construct a symmetric matrix from output of the Vech command
Tsay (2014, Appendix A)
Vech
# NOT RUN { v1=c(2,1,3) m1=VechM(v1) m1 # }
Run the code above in your browser using DataLab