Line Plots 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 maintaining its amazing power and flexibility. Here we will demonstrate one of the graphics dialogs in R-Instat.
Here is the video;
Video script prepared by Rachel Kirk-Gushowaty, and Roger Stern. Video constructed and voiced by Beryl Waswa.
- 0:00 Introduction
- 0:51 Import from Library dialog
- 1:10 Economics data variable labels
- 1:40 About the variables
- 1:54 Saving data in R-Instat
- 2:26 Common graphs in R-Instat
- 2:40 Producing Line plots in R-Instat
- 3:41 Using the calculator to find unemployment rate
- 4:19 A line plot for the unemployment rate
- 4:41 A line plot of multiple variables
- 5:20 Rescaling variables in R-Instat
- 8:00 Producing a line plot of multiple variables
- 8:38 Exploring the line plot options in R-Instat
- 10:06 Filtering rows in R-Instat
- 11:04 Line plots in R-Instat: Step
- 11:43 The filter dialog options
- 12:24 Line plots in R-Instat: Path
- 13:06 Path options in R-Instat
- 13:39 Adding arrows and going beyond the graph dialog
- 14:29 Modifying the arrows
- 16:12 Using a smoothed line in R-Instat
- 17:04 Adjusting the fitting process for the smoothed lines
- 18:50 Have fun and explore!
Then complete the practical.
Use this downloadable practice document to follow along doing all the steps yourself.
Using Scripts Instead
If you prefer to use R scripts here is the companion video on how to do it in R-Instat.Video script prepared by Rachel Kirk-Gushowaty, and Roger Stern. Video constructed and voiced by Beryl Waswa.
Additional - Produce and Change a Script
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.
We continually improve R-Instat, so don't worry if the dialogs in our guides and videos, look a bit different to those in the version you are using.
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