Histograms in R

From Rizzo_Lab
Revision as of 13:53, 11 June 2008 by Sudipto (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search
Dvdw run.hist.gif

Read in your CSV file with headers

data=read.csv("data.csv",header = TRUE)

List of columns headers

> names(data)
[1] "time"                    "d05t"
[94] "DGBSA_run"              "DMMGBSA_run"

Attach the header names of the data set


Plot the histogram


Plot a single column of data with