title: How to construct a data.frame with name for rows and columns?
body: <p>I can construct a <code>data.frame</code> using the following code.</p>
  <pre><code>library(tidyverse)
  library(lubridate)
  DF &lt;- data.frame(Date = seq(as.Date(&quot;2001-03-01&quot;), to= as.Date(&quot;2001-05-31&quot;), by=&quot;day&quot;),
                       A = runif(92, 0,10),
                       D = runif(92,5,15),
                       Z = runif(92,3,15))
  </code></pre>
  <p>I, however, would like to construct a <code>data.frame</code> like in the <code>figure</code> below where the name of the <code>columns (I.e., 1:2 or 1:5)</code> and <code>rows (I.e., A, Z etc)</code> should be like what I have but the values can be <code>random</code> in there. I am trying to put a <code>reproducible</code> questions but wanted to first get my <code>data.frame</code> right.</p>
  <p><img src="https://i.stack.imgur.com/GTRwh.png" alt="" /></p>