Re: [R] How to show number in the %f format?

2009-09-24 Thread Don MacQueen
There is also the formatC function, whose description is Formatting numbers individually and flexibly, using 'C' style format specifications. -Don At 2:28 AM -0400 9/24/09, David Winsemius wrote: On Sep 23, 2009, at 6:42 PM, Peng Yu wrote: On Wed, Sep 23, 2009 at 5:16 PM, David

Re: [R] How to show number in the %f format?

2009-09-23 Thread David Winsemius
On Sep 23, 2009, at 6:42 PM, Peng Yu wrote: On Wed, Sep 23, 2009 at 5:16 PM, David Winsemius > wrote: On Sep 23, 2009, at 5:58 PM, Peng Yu wrote: Hi, I have the following matrix, which is printed %e format (in C's way). I am wondering how make it be printed in %f format (in C's way)? ?

Re: [R] How to show number in the %f format?

2009-09-23 Thread Peng Yu
On Wed, Sep 23, 2009 at 5:16 PM, David Winsemius wrote: > > On Sep 23, 2009, at 5:58 PM, Peng Yu wrote: > >> Hi, >> >> I have the following matrix, which is printed %e format (in C's way). >> I am wondering how make it be printed in %f format (in C's way)? > > ??"printf"  # scroll down to base pac

Re: [R] How to show number in the %f format?

2009-09-23 Thread David Winsemius
On Sep 23, 2009, at 5:58 PM, Peng Yu wrote: Hi, I have the following matrix, which is printed %e format (in C's way). I am wondering how make it be printed in %f format (in C's way)? ??"printf" # scroll down to base package listings, the C function ?sprintf# the s/r function Regard

[R] How to show number in the %f format?

2009-09-23 Thread Peng Yu
Hi, I have the following matrix, which is printed %e format (in C's way). I am wondering how make it be printed in %f format (in C's way)? Regards, Peng > significant_analysis_results[,7:8] pval(ki-wt) pval(ko-wt) Nab2 1.913348979e-06 2.731944670e-09 Rasal12.482254110e