![]() Next, load the packages into your R environment by running this code (you need to do this every time you restart R): library(ggplot2) To install the packages you need for the analysis, run this code (you only need to do this once): install.packages("ggplot2") To run the code, highlight the lines you want to run and click on the Run button on the top right of the text editor (or press ctrl + enter on the keyboard). ![]() Then open RStudio and click on File > New File > R Script.Īs we go through each step, you can copy and paste the code from the text boxes directly into your script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |