I am trying to find a way to transpose only 1 column in my R data frame.
This is the original data frame:
Fruits Name Count
Apple Tom 2
Apple Bob 2
Banana Tom 1
This is what I want my data frame to be:
Name Apple Banana
Tom 2 1
Bob 2 0
Please advice and thanks in advance!