Thumbnail
Access Restriction
Open

Author Murrell, Paul
Source CiteSeerX
Content type Text
File Format PDF
Subject Domain (in DDC) Computer science, information & general works ♦ Data processing & computer science
Abstract R provides a number of well-known high-level facilities for producing sophisticated statistical plots, including the “traditional ” plots in the graphics package (R Development Core Team, 2008), the Trellisstyle plots provided by lattice (Sarkar, 2008), and the grammar-of-graphics-inspired approach of ggplot2 (Wickham, 2009). However, R also provides a powerful set of lowlevel graphics facilities for drawing basic shapes and, more importantly, for arranging those shapes relative to each other, which can be used to draw a wide variety of graphical images. This article highlights some of R’s low-level graphics facilities by demonstrating their use in the production of diagrams. In particular, the focus will be on some of the useful things that can be done with the low-level facilities provided by the grid graphics package (Murrell, 2002, 2005a,b). Starting at the end An example of the type of diagram that we are going to work towards is shown below. We have several “boxes ” that describe table schema for a database, with lines and arrows between the boxes to show the relationships between tables. book_author_table
Educational Role Student ♦ Teacher
Age Range above 22 year
Educational Use Research
Education Level UG and PG ♦ Career/Technical Study
Learning Resource Type Article