From the course: SAS Programming for R Users, Part 2
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Multi-cell plotting procedures and statements - SAS Tutorial
From the course: SAS Programming for R Users, Part 2
Multi-cell plotting procedures and statements
- [Narrator] In this section I'll show you how to create multi-cell plots. So I want to show you how to create a window and fill the window with different types of plots, like a historgram, density estimate and a box plot. I also want to show you how to create a scatterplot matrix, and finally I want to show you how to create a panel of plots based on some classification variable. So coming from R, we should be able to reproduce the pairs function to create a scatterplot matrix. And we should also be comfortable using the par mfrow option again to create a window and fill that window with different types of plots. I'll first talk about the SG Scatter procedure which creates a panneled graph of scatterplots depending on the plot statement that you use. And we have three different statements. We can use the Matrix statement to create a scatterplot matrix. We can use the Plot statement to create a panelled graph that contains multiple independent scatterplots. And finally we can use the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
The DO loop6m 18s
-
(Locked)
Random number generation3m 40s
-
(Locked)
Demo: The DO loop and random number generation5m 27s
-
(Locked)
Plotting with the SGPLOT procedure6m 55s
-
(Locked)
Demo: Creating standard R plots7m 12s
-
(Locked)
Enhancing the plot1m 47s
-
(Locked)
Demo: Enhancing the plot5m 43s
-
(Locked)
Multi-cell plotting procedures and statements6m 5s
-
(Locked)
Demo: Multi-cell plotting4m 33s
-
-