Re: [R] X-axis labels in histograms drawn by the "truehist" function

2006-10-02 Thread Ravi Varadhan
From: Marc Schwartz (via MN) [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 3:25 PM To: Ravi Varadhan Cc: r-help@stat.math.ethz.ch Subject: Re: [R] X-axis labels in histograms drawn by the "truehist" function On Mon, 2006-10-02 at 14:58 -0400, Ravi Varadhan wrote: > >

Re: [R] X-axis labels in histograms drawn by the "truehist" function

2006-10-02 Thread Marc Schwartz (via MN)
On Mon, 2006-10-02 at 14:58 -0400, Ravi Varadhan wrote: > > Hi, > > > > I had sent this email last week, but received no reply. So, I am resending > it - please excuse me for the redundant email. > > > > I have a simple problem that I would appreciate getting some tips. I am > using the

[R] X-axis labels in histograms drawn by the "truehist" function

2006-10-02 Thread Ravi Varadhan
Hi, I had sent this email last week, but received no reply. So, I am resending it - please excuse me for the redundant email. I have a simple problem that I would appreciate getting some tips. I am using the "truehist" function within an "apply" call to plot multiple histograms. I can

Re: [R] X-axis labels in histograms drawn by the "truehist" function

2006-09-29 Thread Gabor Grothendieck
Try this: f <- function(x,xlab) truehist(x, xlab = xlab) mapply(f, as.data.frame(X), colnames(X)) On 9/29/06, Ravi Varadhan <[EMAIL PROTECTED]> wrote: > Hi, > > > > I have a simple problem that I would appreciate getting some tips. I am > using the "truehist" function within an "apply" call to

[R] X-axis labels in histograms drawn by the "truehist" function

2006-09-29 Thread Ravi Varadhan
Hi, I have a simple problem that I would appreciate getting some tips. I am using the "truehist" function within an "apply" call to plot multiple histograms. I can't figure out how to get truehist to use the column names of the matrix as the labels for the x-axis of the histograms. Here