pivot_wider

Pivot wider

Widens data, increasing the number of columns and decreasing the number of rows.

Parameters

Returns

The pivoted DataFrame.

Examples

pivot_wider(df, names_from = $name, values_from = $value)