• Save
Advanced R Graphics
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Advanced R Graphics

on

  • 703 views

Advanced R Graphics

Advanced R Graphics

Statistics

Views

Total Views
703
Views on SlideShare
624
Embed Views
79

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 79

http://www.dataminingtools.net 48
http://dataminingtools.net 31

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Advanced R Graphics Presentation Transcript

  • 1. Advanced Graphics
    The Dataminingtools.net Team
  • 2. Trellis Graphics:the lattice package
    Trellis plots are designed to be easy to interpret and at the same time provide some modern and sophisticated plotting styles, such as multi-panel conditioning.
    Image source: www.stat.auckland.ac.nz/~paul/RGraphics/chapter1.pdf
  • 3. Lattice Package
    > xyplot(lat ~ long, data=quakes, pch=“+")
    Image source: www.stat.auckland.ac.nz/~paul/RGraphics/chapter1.pdf
  • 4. Lattice Package
    > tplot<-xyplot(lat ~ long, data=quakes, pch="X")
    > tplot2 <- update(tplot, main="Earthquakes in the pacific ocean")
    > print(tplot2)
    Image source: www.stat.auckland.ac.nz/~paul/RGraphics/chapter1.pdf
  • 5. Lattice functions
    Image Source: http://www.stat.auckland.ac.nz/~paul/RGraphics/RGraphicsChapters-1-4-5.pdf
    Image source: www.stat.auckland.ac.nz/~paul/RGraphics/chapter1.pdf
  • 6. 3-d Plots using cloud()
    > cloud(depth ~ lat*long, data=quakes, pch="+")
    Image source: www.stat.auckland.ac.nz/~paul/RGraphics/chapter1.pdf
  • 7. 3-d Plots using cloud()
    One of the very powerful features of Trellis Graphics is the ability to specify conditioning variables within the formula argument. Something of the form y ~ x | g indicates that several plots should be generated, showing the variable y against the variable x for each level of the variable g.
    Image source: www.stat.auckland.ac.nz/~paul/RGraphics/chapter1.pdf