This is an old revision of the document!
2.4 Spread: Making your data wide
Sometimes you might want to go to from long to wide
SPREAD BASICS:spread uses the same syntax as gather (they are complements)
- |
> wide2 <- spread(long, Measurement, Value) > wide2 Species DBH Height 1 Ash 13 55 2 Elm 20 85 3 Oak 12 56
