Skip to content

Implementation in R

Rizvix0 edited this page Nov 9, 2020 · 16 revisions

Implementation of R Scripts

In each folder you will also find a 'read.me' file containing some basic info on the packages used in respected R script file.


Steps for Implementation

1. Install R and RStudio

2. After you have set up your RStudio, you can get R scripts from the following links. They are arranged in 3 folders in our Github Repo.

After going into your desired folder, please select the associated data file in 'CSV' format. Copy the contents of the file in a notepad on your PC and save as a .csv file.

Saving csv file

(To save as a .csv file, just add a .csv at the end of your file name)

3. Right-click on the file to save the link as a .R file** If there is a failure in Step 3, perform Step 4 & 5, otherwise, proceed to Step 6

4. Open a new script in RStudio

Opening R script

5. From the R script that we have provided, copy the whole code and paste it into the new R script that you have created.

6. Hit Run button

Clone this wiki locally