0

I have a dataframe df

Feature Sample Value
A S1 12
A S2 15
B S1 13
B S2 11

I want to convert it to the format

   S1 S2
A  12 15
B  13 11

I don't know how to do this in R

Rui Barradas
  • 57,195
  • 8
  • 29
  • 57
Ssank
  • 2,775
  • 6
  • 27
  • 31

0 Answers0