-->

      

      </header><div class="row">
  <div class="col-md-9 contents">
    <div class="page-header">
    <h1>Numeric matrix from data frame</h1>
    <small class="dont-index">Source: <a href="https://github.com/privefl/bigstatsr/blob/HEAD/R/utils.R" class="external-link"><code>R/utils.R</code></a></small>
    <div class="hidden name"><code>covar_from_df.Rd</code></div>
    </div>

    <div class="ref-description">
    <p>Transform a data frame to a numeric matrix by one-hot encoding factors.
The la