Hello,
You could also try function multi.hist() in package psych.
Hope this helps,
Rui Barradas
Em 08-01-2015 03:36, John Sorkin escreveu:
Richard,
WOW! A totally new way to think about loop indices, many, many, thanks!John
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostat
Richard,
WOW! A totally new way to think about loop indices, many, many, thanks!John
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and Geriatric
Medicine
Baltimore VA Medical Center
10 N
tmp <- data.frame(a=rnorm(10), b=rnorm(10))
for (i in names(tmp)) hist(tmp[[i]], main=paste("histogram of", i))
On Wed, Jan 7, 2015 at 10:13 PM, John Sorkin
wrote:
> I am trying to automatically produce a series of histograms from every column
> of data frame with many columns.
> The columns na
I am trying to automatically produce a series of histograms from every column
of data frame with many columns.
The columns names of a shortened from of the data frame follow:
colnames<-names(smdata)
colnames
[1] "X13594_pre" "X15568_pre"
I want to have
X13594_pre in the title of the first his
4 matches
Mail list logo