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
  • 70,273
  • 8
  • 34
  • 66
Ssank
  • 3,367
  • 7
  • 28
  • 34

0 Answers0