An Introduction to R: Examples for Actuaries
Nigel De Silva (nigel.desilva@thomasmiller.com)
Up to: Contents
Back to: R Data Structures
Forward to: Getting Data Into R
2.4 R Graphics
R has an amazing array of graphical capabilities and is widely used to produce graphics for publication. As a simple introduction to R’s capabilities, try the following commands for a demo.
> demo(graphics)
> demo(persp)
These open a graphics window. Clicking on the window or pressing enter will allow you the view the various demo graphs. A couple of online resources for R graphs are listed below:
• R Graph Gallery
• R Graphics by Paul Murrell
• Data Visualization – R Toolkit
This series of examples will introduce a few of the simpler graphical functions. A more comprehensive introduction is available in the recommended reading, Section 1.1.
Comments (0)
You don't have permission to comment on this page.