Topic #6 – graphing ‏ - PowerPoint PPT Presentation

raanan
slide1 n.
Skip this Video
Loading SlideShow in 5 Seconds..
Topic #6 – graphing ‏ PowerPoint Presentation
Download Presentation
Topic #6 – graphing ‏

play fullscreen
1 / 6
Download Presentation
Presentation Description
158 Views
Download Presentation

Topic #6 – graphing ‏

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Topic #6 – graphing‏ Basic graphing options 1. Generic functions 2. Special graphs 3. Graphing layout

  2. Topic #6 – graphing‏ Basic graphing options 3. Graphing layout

  3. Topic #6 – graphing‏ Basic graphing options 1. Generic functions a. Flexible plot plot.type is “p” for points and “l” for lines b. Add points to existing plot c. Add lines to existing plot plot(y= , x= , type=plot.type ...)‏ points(y= , x= , ...)‏ lines(y= , x= , ...)‏

  4. Topic #6 – graphing‏ • Basic graphing options • 2. Special graphs • a. Histograms • b. Density functions • Used to show the distribution of empirical estimates • c. Cumulative distribution functions • Used to the percent that exceeds a given value hist(...)‏ plot(density(Vector))‏ plot(ecdf(Vector))‏

  5. Topic #6 – graphing‏ • Basic graphing options • 3. Graphing layout • Step #1 – Split graphing screen • Include matrix declaring number of rows and columns • Step #2 – Specify frame to use • Tells which panel to use next • Step #3 – When done, close all screens • Tells R not to use split.screen anymore split.screen(c(2,2))‏ screen(1)‏ close.screen(all=TRUE)


  6. Topic #6 – graphing Saving a graph [click on graph page] > file > save as > jpeg > 100% quality