ttps://tidyr.tidyverse.org/reference/expand.html" class="external-link">expand()</a></code> before pivoting? This results in more rows, the output will
contain a complete expansion of all possible values in <code>id_cols</code>. Implicit
factor levels that aren't represented in the data will become explicit.
Additionally, the row values corresponding to the expanded <code>id_cols</code> will
be sorted.</p></dd>


<dt id="arg-names-from-values-from">names_from, values_from<a class="anchor" aria-label="anchor