Archives

Thursday, 06 May, 2010 (20100506)

Consider updating to R 2.11.0  http://cran.stat.ucla.edu/bin/macosx/

Files

Here is the R script  for this session.

You can find the final plot here  as a PDF (~17KB) or here  as a PNG (~846KB, not included on default page because of size)

Outline

A vignette  from the R-help list
    "May I respectfully suggest that you not use a system that you don't understand to compute the dosages of highly toxic drugs ?????" --- Ben Bolker
Packages: they're crantastic!
    What are they?
    How do you get them?
    When should you use them?
    When CRANberries go bitter
Review from last week
    by(), matrix(), subsetting using indices, barplot() (briefly)
Colors in R: the default palette, hexadecimals, and getting creative with rgb
    Also check out my mainsite  for an alternate link to the code for color.viewer() and details about it.
An interactive session

Learning Objectives

Choosing colors (and making your own)
Rudimentary knowledge of creating multi-figure displays