Subject: Re: [R] Help formating data to display commas
Try this:
gsub("\\s", "", format(upper, big.mark = ","))
On Thu, Jan 7, 2010 at 5:31 PM, Anderson, Chris
wrote:
> I'm using the following code to create quartile intervals of my dataset and
> it is wo
-project.org
Subject: Re: [R] Help formating data to display commas
Try this:
gsub("\\s", "", format(upper, big.mark = ","))
On Thu, Jan 7, 2010 at 5:31 PM, Anderson, Chris
wrote:
> I'm using the following code to create quartile intervals of my dataset and
> it
> Chris Anderson
> Data Analyst
> Medical Affairs
> wk: 925-677-4870
> cell: 707-315-8486
> Fax:925-677-4670
>
>
>
> -Original Message-
> From: Henrique Dallazuanna [mailto:www...@gmail.com]
> Sent: Thursday, January 07, 2010 11:45 AM
> To: Anderson, Chri
Try this:
gsub("\\s", "", format(upper, big.mark = ","))
On Thu, Jan 7, 2010 at 5:31 PM, Anderson, Chris
wrote:
> I'm using the following code to create quartile intervals of my dataset and
> it is working like it is suppose too. In my final output of the data I would
> like currency amounts t
I'm using the following code to create quartile intervals of my dataset and it
is working like it is suppose too. In my final output of the data I would like
currency amounts to be displayed with commas. I have not found an option either
through FormatC or sprintf that will display the data with
5 matches
Mail list logo