Rstats 101
  • Home
  • LLM
  • dplyr
  • tidyr
  • ggplot2
  • Statistics
  • How-To
  • Base R

tidyr Tutorials

Learn to tidy your data with tidyr. These tutorials cover pivoting, nesting, separating, and uniting data.

How to Separate a Column into Multiple Rows in R: Hint tidyr’s spearate_row()

Learn how to separate a column into multiple rows in r: hint tidyr’s spearate_row() with this comprehensive R tutorial. Includes practical examples…

How to create a nested dataframe with lists

Learn how to create a nested dataframe with lists in R. Practical tutorial with examples.

How to create all combinations with expand_grid() in R

Learn create all combinations with expand_grid() in r with clear examples and explanations.

How to replace NAs with zero in a dataframe

Learn how to replace nas with zero in a dataframe with this comprehensive R tutorial. Includes practical examples and code snippets.

How to reshape data from wide to long with pivot_longer() in R

Learn reshape data from wide to long with pivot_longer() in r with clear examples and explanations.

How to split a column into multiple columns in R

Learn split a column into multiple columns in r with clear examples and explanations.

How to use complete() in R

Learn how to use complete() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use crossing() in R

Learn how to use crossing() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use drop_na() in R

Learn how to use drop_na() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use expand() in R

Learn how to use expand() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use fill() in R

Learn how to use fill() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use nest() in R

Learn how to use nest() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use nest() to create nested dataframes in R

Learn use nest() to create nested dataframes in r with clear examples and explanations.

How to use pivot_longer() in R

Learn how to use pivot_longer() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use pivot_wider() in R

Learn how to use pivot_wider() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use replace_na() in R

Learn how to use replace_na() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use separate() in R

Learn how to use separate() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use separate_wider_delim() in R

Learn how to use separate_wider_delim() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use unite() in R

Learn how to use unite() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use unnest() in R

Learn how to use unnest() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use unnest_longer() in R

Learn how to use unnest_longer() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

How to use unnest_wider() in R

Learn how to use unnest_wider() in R with practical examples. Step-by-step guide with code you can copy and run immediately.

expand_grid(): Create all possible combinations of variables

Learn expand_grid(): create all possible combinations of variables with this comprehensive R tutorial. Includes practical examples and code snippets.

pivot_longer on dataframe with single row

Learn pivot_longer on dataframe with single row with this comprehensive R tutorial. Includes practical examples and code snippets.

tidyr unite(): combine multiple columns into one

Learn tidyr unite() to combine multiple columns into one. R tutorial with practical examples.

tidyr’s separate_delim_wider(): Split a string into columns

Master tidyr separate_delim_wider() in R. Step-by-step guide with practical examples.

No matching items

    Featured Tutorial

    Introduction to Mixed Effects Models

    Learn when and why to use mixed models for longitudinal data with lme4

    Browse by Topic

    dplyr

    59 tutorials

    Data manipulation with filter, select, mutate, joins & more

    tidyr

    22 tutorials

    Reshape data with pivot_wider, pivot_longer, separate & unite

    ggplot2

    22 tutorials

    Create beautiful visualizations with the grammar of graphics

    Statistics

    31 tutorials

    T-tests, ANOVA, regression, correlation & more

    How-To

    53 tutorials

    Practical guides for common R tasks

    Base R

    21 tutorials

    Core R programming fundamentals

    Copyright 2025 Rstats101. All rights reserved.

     
    • About

    • Privacy Policy