Implementation in R - Statistics-and-Machine-Learning-with-R/Statistical-Methods-and-Machine-Learning-in-R GitHub Wiki
Running R scripts are pretty easy. Kindly follow these steps to download required softwares and then your desired R script file and associated data file to run the scripts.
2. After you have set up your RStudio, you can get R scripts from the following links (shown below the picture). 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.
(To save as a .csv file, just add a .csv at the end of your file name)
- T-Test & U-Test
- ANOVA & Kruskal-Wallis-Test
- ANOSIM & PERMANOVA
- Clustering & Ordination
- Decision Tree
- Artificial Neural Network
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
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. Select the whole code (Ctrl\strg + A), and click the "Source" button (top-right corner)