[R] reading header in txt file and making histogram
jaclea
jacob.e.leander at gmail.com
Mon Mar 26 15:59:42 CEST 2012
If there is a header in your .txt-file you should have header=TRUE, if there
is no header you should have header=FALSE.
You have to save your dataset in a variable, for example:
myData<-read.table("data.txt",header=TRUE)
Then you can make a histogram by:
hist(myData)
--
View this message in context: http://r.789695.n4.nabble.com/reading-header-in-txt-file-and-making-histogram-tp4504813p4505896.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list