This directory contains examples and exercises related to creating various types of visualizations in R using its built-in graphics system. The focus is on understanding how to create and customize plots and charts in R using base R functions.
- 01-Basic-Plots/: Introduction to basic plotting in R (e.g., histograms, scatter plots).
- 02-Line-Plots/: Creating and customizing line plots.
- 03-Bar-Plots/: How to visualize categorical data using bar plots.
- 04-Histograms/: Visualizing the distribution of data using histograms.
- 05-Scatter-Plots/: Creating scatter plots for visualizing relationships between variables.
To get started with R graphics:
-
Clone the Repository:
git clone https://github.com/KasrAskari/learn-R-codes.git cd learn-R-codes/Graphics -
Explore the Examples: Open the files in the respective subfolders to start exploring different types of graphics in R.
- R: Install R from CRAN.
- RStudio (recommended): Download from RStudio for an enhanced development environment.
Feel free to contribute new visualization techniques, improvements, or suggestions. You can fork this repository and submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for more details.
Start creating stunning visualizations with R!