Convert a Vector into a Square Matrix</h1>

    <div class="hidden name"><code>vec2mat.Rd</code></div>
    </div>

    <div class="ref-description">
    <p>Function to convert a vector into a square matrix by filling up the lower triangular part of the matrix.</p>
    </div>

    <div id="ref-usage">
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">vec2mat</span><span class="op">(</span><span class="va">x</span>, diag<span class="op">=</span><span class="cn">FALSE</span>, c