R LanguageReshape using tidyr

Download R Language for free

Introduction

tidyr has two tools for reshaping data: gather (wide to long) and spread (long to wide).

See Reshaping data for other options.

Related Examples

Reshape from long to wide format with spread()