title: get lower triangular matrix with for loop without built in function in R
body: <p>I need to create a lower triangular matrix out of a specified matrix, without using the lower.try function, specifically with nested for loops.
  I have gotten this far...</p>
  
  <pre><code>d &lt;- 6
  m &lt;- matrix(1:(d*d), d, d)
  for(i in 2:nrow(m)) {
    for (j in 1:col(m)) {
      #...skipped code
    }
  }
  </code></pre>
  
  <p>Please help!</p>