Reshapes a data frame from long to wide: the values of namesFrom become columns, filled from valuesFrom.
Equivalent to tidyr::pivot_wider() in R. One row per combination of the id columns (in order of first appearance),
the new columns in order of first appearance of their names (unless namesSort). A cell that no row fills is
valuesFill (default missing). A cell that several rows fill is an error unless valuesFn summarises the values
(tidyr makes a list column there, which a data frame here cannot hold).
Reshapes a data frame from long to wide: the values of
namesFrombecome columns, filled fromvaluesFrom. Equivalent totidyr::pivot_wider()in R. One row per combination of the id columns (in order of first appearance), the new columns in order of first appearance of their names (unlessnamesSort). A cell that no row fills isvaluesFill(default missing). A cell that several rows fill is an error unlessvaluesFnsummarises the values (tidyr makes a list column there, which a data frame here cannot hold).