The author of the lattice graphics library has written a book describing using lattice graphics which provides a large number of examples. A website has been created that shows the graphs using different colour schemes and shows the code that has been used to construct the plots. Read the rest of this entry »
Lattice Graphics Book – Examples Website
September 15th, 2009A Gallery of Graphs produced using R
September 12th, 2009The R environment for Statistical Analysis has strong facilities for producing high quality graphical output. There are many books and electronic documents that demonstrate examples of effective ways to display data graphically. To get an feel for the range of display that could be used it is worthwhile visiting the R Graph Gallery. Read the rest of this entry »
Creating Date Objects using Character Strings
September 10th, 2009The use of dates can frequently be problematic because there is such a wide range of format used to store data information. The R system has various facilities for defining and working with dates and can handle a wide range of formats that might be encountered in a set of data. Read the rest of this entry »
Program Flow – Loops
September 4th, 2009The R programming language has keywords defined to allow the user to defined loops in various ways – as a for, while or repeat statement. These statements can be used to ensure that a section of code is repeated multiple times until a defined condition has been satisfied. Read the rest of this entry »
Box and Whisker Plots for Summarising Data
August 11th, 2009We have considered using a histogram to summarise univariate data but there are other types of plot such as the box and whisker plot that can be used summarised univariate data. The box and whisker plot is a graphical method for summarising numerical data based on a five-number summary. These five numbers are the minimum, lower quartile, median, upper quartile and maximum value. Read the rest of this entry »
Using SQL to Access Data in MySQL Databases
July 28th, 2009In a previous post we have looked at opening and closing connections from R to a MySQL database and some basic operations for creating and deleting tables. In this post we will consider using SQL queries to extract parts of a table from the database based on different search criteria. Read the rest of this entry »
Using R to Access Data in a MySQL database
July 24th, 2009The R import/export manual discusses various approaches to handling data and mentions that R is not suitable for working with large data sets because data objects are stored in memory during a session. There are situations where using a database to hold the data and making use of one of the R libraries for database connectivity to access the data or to save the data. Read the rest of this entry »
Book Review – Lattice: Multivariate Data Visualization with R by Deepayan Sarkar (Springer 2008)
July 19th, 2009[amazonshowcase_d70c7b600ca8b4964397b97932ca0cd7]
This book by Deepayan Sarkar, who is the author of the lattice package for R, provides an introduction to this implementation of the trellis graphics system followed up with a large range of examples of frequently used graphics. The book is divided into three parts starting with the basics leading into taking greater control of the graphics systems and finishing with a brief discussion of extending the lattice library. Read the rest of this entry »