Displaying 20 results from an estimated 800 matches similar to: "Bits of scientific notation in write.table() output"
2009 Dec 07
0
A Gamma-GLM with log link
Hi,
I have a set of data (total number of record = 144,122), and I would like to
use gamma-glm with log link to set up a model.
IC is number of records
IL is paid amount
The table below shows that I have
30.578% of the data in the level of "1 - 1000" paid amount
20.320% of the data in the level of "1001 - 2000" paid amount
and so on
My question is could i use the whole data
2010 May 15
0
No subject
family having (several?) different video decode engine.
The only work I know about is an initial support for mpeg2 decode
engine on nv40 :
http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?h=3Dnvfx-vpe&id=3D538=
d6ef8aac1cd861f6336e24e79a315fe58aba0
And afaik, the other engines are mostly unknown (no RE and no code).
Some of these details could be wrong, in that case hopefully someone
can
2007 Sep 23
9
Confused about start of day setup
Hi,
I hope I''m right here. If not then please point me in the right
direction.
My problem in short:
I have problems using (pinning, mmu_update) physical pages from
0x900000 to 0xB1000 usualy.
I''m writing my own little amd64 64bit toy kernel (based on Mini-OS as
starting point) for xen and I run into problems with the way the start
of day sets up the physical pages.
My kernel
2001 Oct 14
0
DirectX 8 Library error.
I have written a directdraw program in dx7 that i can get working under
wine.
I have now written a simple directx8 3d program that works under windows
but i am getting these wierd errors under wine.
this is the output from wine -debugmsg +module pro666 I think it is a
problem with the two libraries d3d8.lib and d3dx8.lib as I can see errors
there. Also I notice that these are the two libraries
2003 Mar 16
0
scientific notation
If I knew this, I have forgotten it:
Is there a way to force R to forgo use of scientific notation,
e.g. to use .000029 instead of 2.9e-05?
(Aside from using formatC for example)
I run across this every now and then and work around it (multiple values by 100,
for example) but cannot find any way to deal with it otherwise. A particularly
problematic place it pops up is in axis tick labels.
2014 Jun 19
1
R is converting arg input to scientific notation, which is bad!
Hello,
Firstly, real new to R here.
I have a function intended to evaluate the values in columns spread over
many tables. I have an argument in the function that allows the user to
input what sequence of tables they want to draw data from. The function
seems to work fine, but when the user inputs a single number (over 9)
instead of a sequence using the : operator, I find an error message:
the
2010 Sep 27
1
scientific vs. fixed notation in xyplot()
Hi I am using xyplot() to plot on the log scale by using scale=list(log=T)
argument. For example:
xyplot(1:10~1:10, scales=list(log=T))
But the axis labels are printed as scientific notation (10^0.0, etc), instead of
fixed notation. How can I change that to fixed notation?
options(scipen=4) doesn't work on xyplot()
Thanks
John
2010 Feb 02
2
Suppressing scientific notation on plot axis tick labels
Is there a better alternative to
x = c(1e7, 2e7)
x.lb = c(0,1e7,2e7)
s.lb = format(x.lb, scientific = FALSE, big.mark = ",")
barplot(x, yaxt = "n", ylab = "")
axis(side = 2, at = x.lb, labels = s.lb)
(I am sure there is a better alternative to line 2 :)).
Thank you.
--
View this message in context:
2009 Sep 29
0
[LLVMdev] [PATCH] llvm-bcanalyzer: print percentages without scientific notation
Hello,
llvm-bcanalyzer told me that the size of the BLOCKINFO_BLOCK of my
file is "1.345017e+01" percent of the whole file. This is not very
readable.
The attached patch prints the percentage without scientific notation
so we get something bit more readable:
Block ID #0 (BLOCKINFO_BLOCK):
Num Instances: 1
Total Size: 637b/79.62B/19W
% of file: 13.450169
Num
2009 Sep 29
2
[LLVMdev] [PATCH] llvm-bcanalyzer: print percentages without scientific notation
Hi,
Andreas Neustifter <astifter-llvm at gmx.at> writes:
> Maybe you can use the already available "include/llvm/Support/Format.h"?
Thanks, that simplifies the patch a lot. See the attached patch.
Btw, llvm-bcanalyzer.cpp seems to also use fprintf -- does mixing it
with errs() cause problems and should it be converted to use format()?
best regards,
Timo Lindfors
2009 Sep 29
0
[LLVMdev] [PATCH] llvm-bcanalyzer: print percentages without scientific notation
On Sep 29, 2009, at 9:44 AM, Timo Juhani Lindfors wrote:
> Hi,
>
> Andreas Neustifter <astifter-llvm at gmx.at> writes:
>> Maybe you can use the already available "include/llvm/Support/
>> Format.h"?
>
> Thanks, that simplifies the patch a lot. See the attached patch.
It looks like something similar got applied back in r82772 on 9/25.
>
> Btw,
2003 Feb 06
1
signif {base}: changes to scientific notation
PROBLEM
`signif' does change to scientic notation
at different levels depending on the number
of significant digits in the input.
This can generate tables where figures change
``irregularly'' from normal to scientific notation.
PROPOSAL
The change to the scientific notation should
be made only if the figure in scientific notation
- with potentially as
2010 Feb 02
0
[R] Suppressing scientific notation on plot axis tick labels (PR#14203)
murdoch at stats.uwo.ca wrote:
> On 02/02/2010 6:20 AM, Dimitri Shvorob wrote:
>> Ruben Roa has kindly suggested using 'scipen' option - cf.
>>
>>> fixed notation will be preferred unless it is more than =C3=A2=E2=82=AC=
=CB=9Cscipen=C3=A2=E2=82=AC=E2=84=A2 digits
>>> wider.
>> However,=20
>>
>> options(scipen =3D 50)
>> x =3D
2013 Jan 02
1
scientific notation and comparison with character variable
L.S.
Is the following expected and/or documented?
> 1e-2 < "0.05"
[1] TRUE
> 1e-4 < "0.05"
[1] FALSE
Many thanks in advance for any pointer.
Best,
Tobias
> sessionInfo()
R Under development (unstable) (2013-01-01 r61512)
Platform: i386-w64-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3]
2019 Mar 22
1
prettyNum digits=0 not compatible with scientific notation
> On 22 Mar 2019, at 18:07 , Martin Maechler <maechler at stat.math.ethz.ch> wrote:
>
> gives (on Linux R 3.5.3, Fedora 28)
>
> d=10 d=7 d=2 d=1 d=0
> [1,] "123456" "123456" "123456" "1e+05" "%#4.0-1e"
> [2,] "12345.6" "12345.6" "12346"
2001 Jan 17
1
Scientific notation?
Hi,
Would there be a function and/or some options to force R to write a value of
say 1.0e-4 as "0.0001"? More specifically I want to use R to write ASCII
file(s) for other programs to read and some of these programs don't know how
to deal numbers in scientific notation or have a different convention.
Thanks in advance.
Yves Gauvreau
B.E.F.P. Universit? du Qu?bec ? Montr?al
cyg at
2003 Jan 31
1
Scientific Notation on tick marks
Hi, I was working on a project for my class and I am trying to make sure the y-axis numbers NEVER convert automatically to scientific notation. Is there anything I can set in the plot function to make sure of this?
I know formatC( ) can be used in the axis function, but it seems to give me an error when using it in the plot function.
Thanks,
student-in-need-of-some-help
2006 Jan 24
1
No scientific notation in format
Hi
I have a data.frame with the following numbers (first column are month
numbers)
07,0,0,0,0.315444056314174,0,0,0,12.5827462764176,0.079194498691732,
0.0280828101707015,0,0.0695808222378877
08,0,0,105600,0.393061160316545,0,0,0,8.95551253153947,0.0880023174276553,
0.285714285714286,0,0.0669139911789158
09,0,0,0,0,12.5,0,0,13.5135887094281,0.0557531529154668,0,0,
0.0487526139182026
2006 Apr 28
1
displaying numbers not in scientific notation
Sorry for asking such a simple question, but I couldn't find the
answer through a search...
How can I get R to show me the values of estimates *not* in scientific notation?
When I use summary() after using lm() I am getting numbers like
4.485107e-01, when what I want to see is 0.4485....
Thanks,
Brian
2006 Oct 10
0
Fwd: read.table() and scientific notation
note: this e-mail is supposed to precede my coerce hack one.
As an example of the other posters mentioning colClasses, with some
debugging notes:
# create a pretend file for this example
> Lines <- scan(sep="\n", what="")
a 1 3e-8
b 2 1e+10
c 3 e-10
d 4 e+3
> file <- textConnection(Lines)
# import as you would a file, and specify the column types.
> T