I have the following dataset as of now:
data.frame(Time = 208.8639, Passes = 84.52101,
Tackles = 4.191597, Saves = 0.6672269)
#> Time Passes Tackles Saves
#> 1 208.8639 84.52101 4.191597 0.6672269
I need to convert this to the following:
#> var mean
#> 1 Time 208.8639000
#> 2 Passes 84.5210100
#> 3 Tackles 4.1915970
#> 4 Saves 0.6672269
I'm facing problems when trying to give the column name "var" after using the "transpose" function. I tried using the "mutate" function as well. I need to use 'dplyr' functions here. Can someone help out please? Thanks