ohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- pkgdown --><link href="../pkgdown.css" rel="stylesheet"><script src="../pkgdown.js"></script><meta property="og:title" content="Numeric matrix from data frame — covar_from_df"><meta property="og:description" content="Transform a data frame to a numeric matrix by one-hot encoding factors.
The last factor value is always omitted to prevent having a singular matrix
when adding a column of 1s (intercept) in models."><!-- mathjax --><scri