1 / 6

Topic #6 – graphing ‏

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

raanan
Download Presentation

Topic #6 – graphing ‏

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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

More Related