The function works like this: pivot_wider(data = data.frame, id_cols = identifying_columns, names_from = "Col with Names", values_from = "Col with Values") data. is just the data frame you want to reshape. id_cols. lists the columns that contain essential identifying information for each observation. names_from.
. 330 126 38 739 596 602 850 413