This website uses cookies to ensure you get the best experience on our website. Learn more
Got it!

Search

R Training 2022
R Training 2022
  • Start with R
  • Select and Format Data
  • Light Dark Automatic
  • Manipulate data with tidyverse
  • Extract the data you need
    • Select rows
    • Work with rows and columns
    • Create Variables
    • Group and summarize your data
    Reshape your data
    • Wide or Long
    • From long to wide
    • From wide to long
    Merge information from different tables
    • Join tables
  • Contents
  1. Home
  2. Manipulate data with tidyverse
  3. Reshape your data

Chapter 2: Reshape your data

For the analysis of experimental and survey data, we often have to store repeated measures of one experiment, or of one person. You can store repeated information in two broad types of format: the wide and the long format.

In this chapter you will learn:

  • What are the wide and long formats?
  • How to reshape a data set from long to wide format?
  • How to reshape a data set from wide to long format?

Last updated on Mar 18, 2022

© {2022} Damien Jourdain

Published with Wowchemy — the free, open source website builder that empowers creators.

Cite
Copy Download