Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Data Manipulation in R

Overview

This directory focuses on essential data manipulation techniques in R, utilizing core packages like dplyr and tidyr. Mastering these techniques is crucial for effective data analysis and visualization.

Contents

  • 01-Selecting-Columns/: Techniques to select and rename columns using select() from dplyr.
  • 02-Filtering-Rows/: Methods to filter rows based on specific conditions using filter() from dplyr.
  • 03-Sorting-Data/: Approaches to sort data frames using arrange() from dplyr.
  • 04-Merging-Data/: Strategies to merge datasets using functions like left_join() and right_join() from dplyr.
  • 05-Grouping-and-Summarizing/: Techniques to group data and compute summary statistics using group_by() and summarize() from dplyr.

Getting Started

To explore these data manipulation techniques:

  1. Clone the Repository:

    git clone https://github.com/KasrAskari/learn-R-codes.git
    cd learn-R-codes/Data-Manipulation
  2. Explore the Examples: Navigate through the subdirectories to access R scripts and examples demonstrating various data manipulation methods.

Prerequisites

  • R: Install from CRAN.
  • RStudio (recommended): Download from RStudio.
  • tidyverse Package: Install using:
    install.packages("tidyverse")

Contributing

Contributions are welcome! Feel free to fork the repository, add new examples or improvements, and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Enhance your data manipulation skills in R with these practical examples.