Our main aim is to show how to use the graphics dialogs in R-Instat.  We join many enthusiasts for  the grammar of graphics system in R, so the ggplot2 package.  We have tried to make it easy to use, while still giving access to its amazing flexibility. 

In this presentation we run and adapt the script itself.

Video script prepared by Rachel Kirk-Gushowaty, and Roger Stern.  Video constructed and voiced by Beryl Waswa.


  • 0:00 Introduction 
  • 0:56 R-Instat script 
  • 01:26 Adding the R library statement 
  • 02:00 Adding a statement for producing multiple graphs 
  • 02:12 Check to the Show R Commands 
  •  02:34 Running the script in R-Instat 
  • 03:40 Creating a data book from the R script 
  • 04:51 Save Data in R-Instat 
  • 05:12 Producing Graphs in R-Instat using the script 
  • 08:34 Adding arrows to the lines 
  • 09:13 Saving the script in R-Instat 
  • 09:41 Moving from R-Instat dialog to script

Next complete the practical. 

Use this downloadable practice document to follow along doing all the steps yourself. 

Line Plots from an R Script in R-Instat

In the companion presentation we show how an R-script (for line plots) can be handled through the R-Instat dialogs.  Find the companion video here: 



Video script prepared by Rachel Kirk-Gushowaty, and Roger Stern.  Video constructed and voiced by Beryl Waswa.



Additional - Produce a Script and Change It.

Using the R-Instat dialogs we were able to recreate most of the graphs, but we could not add closed arrows ends to both ends of the arrow graph. Some may feel that using open arrow ends is good enough, but for those who wish to challenge themselves this is a great time to use R-Instat's To Script system. 

 To script, is designed for those who are open to using but do not want to write them from scratch. You can use the R-Instat dialog to generate the full command and then make small changes to suit your needs. 

Here is the video:


 

Video script prepared by Rachel Kirk-Gushowaty, and Roger Stern.  Video constructed and voiced by Beryl Waswa.


  • 0:00 Introduction 
  • 1:17 The Script Window in R-Instat 
  • 1:26 The line plots dialog 
  • 2:04 To Script window in R-Instat


Last modified: Tuesday, 22 October 2024, 9:25 AM