[R] how to create a histogram from a matrix?
Zoppoli, Gabriele (NIH/NCI) [G]
zoppolig at mail.nih.gov
Fri Jan 29 04:55:32 CET 2010
Hi,
I'm trying to create a frequency histogram for all the values in a table, but when I try to do so, an error is returned, saying that I cannot create a histogram with an obkect of that class. Here's what I do:
>library(lattice)
>table<-read.table("C:/.../table",header=TRUE,sep="\t")
>histogram(table)
Please help me!!!
Thanks
Gabriele Zoppoli, MD
Ph.D. Fellow, Experimental and Clinical Oncology and Hematology, University of Genova, Genova, Italy
Guest Researcher, LMP, NCI, NIH, Bethesda MD
Work: 301-451-8575
Mobile: 301-204-5642
Email: zoppolig at mail.nih.gov
More information about the R-help
mailing list