Vignettes and other documentation
Vignettes from package 'stats'
stats::reshape
Using the reshape function
PDF
source
R code