https://github.com/lisayinr/r-language
Linear Regression Model in R
https://github.com/lisayinr/r-language
linear-regression linear-regression-models r
Last synced: 12 months ago
JSON representation
Linear Regression Model in R
- Host: GitHub
- URL: https://github.com/lisayinr/r-language
- Owner: lisayinr
- Created: 2025-06-06T23:20:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-07T20:15:41.000Z (about 1 year ago)
- Last Synced: 2025-06-07T20:28:04.233Z (about 1 year ago)
- Topics: linear-regression, linear-regression-models, r
- Language: R
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Overview
To grow as a software engineer, I wanted to expand my understanding of statistical programming by learning the R language. This software reads a CSV file that contains data of advertising spending and the outcome in sales. The program then builds a linear regression model and creates a graph showing the relationship between advertising and sales using ggplot2.
The purpose for writing this software is to have a solid foundation of using R's syntax and data structures by applying it to a real world situation. It demonstrates how the R language works with multiple datatypes (numeric, integer, character, logical, and list), dataframes, and loops.
Video Demonstration of how my software works: [Software Demo Video](https://youtu.be/TVtzkOTjZg4)
# Development Environment
* Visual Studio Code
* Git / Github
* Ggplot2 library
* R version 4.5.0
# Useful Websites
- [Geeksforgeeks.org](https://www.geeksforgeeks.org/basic-syntax-in-r-programming/)
- [Geeksforgeeks.org](https://www.geeksforgeeks.org/r-keywords/)
- [Geeksforgeeks.org](https://www.geeksforgeeks.org/r-data-types/)
- [Geeksforgeeks.org](https://www.geeksforgeeks.org/taking-input-from-user-in-r-programming/)
- [Geeksforgeeks.org](https://www.geeksforgeeks.org/data-visualization-with-r-and-ggplot2/)
- [Youtube.com](https://www.youtube.com/watch?v=rKPfssR66GM&ab_channel=SusanB.)
- [Libraryguides.mcgill.ca](https://libraryguides.mcgill.ca/c.php?g=699776&p=4968544)
- [Ggplot2-book.org](https://ggplot2-book.org/themes#sec-saving)
- [Educative.io](https://www.educative.io/courses/learn-r/difference-between-print-and-cat)
# Future Work
- Add user input to
- Allow user to modify what is considered "high sales"
- Make graph interactive