Re: [R] how to change the position of xlab in truehist?

2010-04-18 Thread Hua Li
Thanks, Peter. It works! Hua --- On Fri, 4/16/10, Peter Ehlers ehl...@ucalgary.ca wrote: From: Peter Ehlers ehl...@ucalgary.ca Subject: Re: [R] how to change the position of xlab in truehist? To: Hua Li huali...@yahoo.com Cc: r-help@r-project.org Date: Friday, April 16, 2010, 6:23 PM On

[R] how to change the position of xlab in truehist?

2010-04-16 Thread Hua Li
Hi, I'm wondering how can I change the position of xlab in truehist. For example, the following code creats a histogram with 4 bins for my discrete data. I want each bin to be labelled as 0, 1, 2, or 3 in the middle, so that it's clear each bin corresponds to each of the discrete case. I was

Re: [R] how to change the position of xlab in truehist?

2010-04-16 Thread David Winsemius
On Apr 16, 2010, at 6:00 PM, Hua Li wrote: Hi, I'm wondering how can I change the position of xlab in truehist. For example, the following code creats a histogram with 4 bins for my discrete data. I want each bin to be labelled as 0, 1, 2, or 3 in the middle, so that it's clear each bin

Re: [R] how to change the position of xlab in truehist?

2010-04-16 Thread Peter Ehlers
On 2010-04-16 16:00, Hua Li wrote: Hi, I'm wondering how can I change the position of xlab in truehist. For example, the following code creats a histogram with 4 bins for my discrete data. I want each bin to be labelled as 0, 1, 2, or 3 in the middle, so that it's clear each bin corresponds