similar to: scientific notation

Displaying 20 results from an estimated 9000 matches similar to: "scientific notation"

2003 May 02
2
Suppressing Scientific Notation
R gurus, Every so often(*) someone asks how to suppress scientific notation in printing, so I thought I'd give it a shot, but I need some help. The formatting decision is made(**) on line 286 of src/main/format.c : if (mF <= *m) { /* IFF it needs less space : "F" (Fixpoint) format */ where mF is the number of characters for "normal" printing and *m is the number
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
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
2019 Mar 22
0
prettyNum digits=0 not compatible with scientific notation
Thank you, Robert for raising this here ! >>>>> Robert McGehee >>>>> on Thu, 21 Mar 2019 20:56:19 +0000 writes: > R developers, > Seems I get a bad result ("%#4.0-1e" in particular) when trying to use prettyNum digits=0 with scientific notation. I tried on both my Linux box and on an online R evaluator and saw the same problem, so
2001 Oct 16
5
optimal windows R machine
For some mysterious reason I do not believe this was delivered to the list. Sorry if it turns out to be a duplicate.---Bob >> Subject: optimal R windows machine I have the happy task of purchasing a new windows desktop PC. I have a limited but not unreasonable budget and access to discounts and so forth. What would be folks' suggestions of priorities and requirements be if I will
2002 Jul 03
2
Scientific notation
I'm writing a load of output to a file using cat(...), but I can't work out how to turn off scientific notation for small numbers. When I originally tried this a while a go I ended up building up a string variable, which is rather clumsy... Many thanks, David -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2019 Mar 22
0
prettyNum digits=0 not compatible with scientific notation
>>>>> peter dalgaard >>>>> on Fri, 22 Mar 2019 17:30:19 +0100 writes: > FWIW, it doesn't seem to be happening on Mac OS: >> format(2^30, digits=0) > [1] "1.e+09" >> prettyNum(12345.6, digits=0) > [1] "1.e+04" > A glibc misfeature? It seems (and note we are talking about format.default()
2008 Apr 10
6
How to create a legend without plot, and to use scientific notation for axes label ?
Hi, I have a 3 by 2 plots per page, and would like to place a legend on the last region. How to do that ? Also, is there any way to specify scientific notation for axes label ? [[alternative HTML version deleted]]
2002 Dec 29
3
lowess + turnpoints = doubling integers?
Happy New Year, r-helpers! I am using lowess to smooth a scatter plot, xx<-lowess(xinput,f=.04) #defaults for other args followed by turnpoints(xx$y) #defaults for other args I plot the smoothed result as well as turnpoints (using yy$tppos) on top of raw data plot. Result is exactly as expected, graphically. For another purpose, I calcuate the difference between turnpoints (representing
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
2019 Mar 22
2
prettyNum digits=0 not compatible with scientific notation
FWIW, it doesn't seem to be happening on Mac OS: > format(2^30, digits=0) [1] "1.e+09" > prettyNum(12345.6, digits=0) [1] "1.e+04" A glibc misfeature? -pd > On 22 Mar 2019, at 10:10 , Martin Maechler <maechler at stat.math.ethz.ch> wrote: > > Thank you, Robert for raising this here ! > >>>>>> Robert McGehee
2006 Jul 06
4
engineering notation format
Hi, How can I format numbers to engineering notation? That is, like scientific but where the exponent is always a multiple of three. Some examples: 1635 000 000 => 1.635E9 163 500 000 => 163.5E6 0.000 000 000 135 => 135E-9 I've tried format and formatC but I couldn't get them to work they I want. Any help is greatly appreciated. Thanks, Sam
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 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
2011 Mar 22
1
Rmark and scientific notation issue
Hi all, Just wondering if anyone might know a way to stop R reading my survival history that has zeros at the beginning in as scientific notation. The data is being read in from a .txt file via read.table to be used with Rmark I have the same issues at the moment with reading in .csv and .xls files. The number was formatted as text in the .xls file otherwise excel puts it into scientific notation
2002 Nov 16
0
formatC with format="fg" displays number in exponential notation (PR#2299)
Full_Name: Frederic Schutz Version: 1.6.1 OS: Linux Submission from: (NULL) (128.250.252.193) The result of the following commands: > formatC(9.9, 1, format="fg") [1] "1e+01" > formatC(99.9, 1, format="fg") [1] "1e+02" does not seem to be coherent with what the help page says: > format: equal to `"d"' (for integers),
2010 Aug 10
1
axis labels defaulting to scientific notation
The labels on the x-axis are defaulting to scientific notation no matter how small cex.axis is. How can I override scientific notation to get the labels to print out as specified? Here is the code (UNIT here is 0.0105): plot(xm,yv,log="xy",ylim=c(0.1,20)/UNIT,xlim=c(0.004,20)*UNIT,xaxt="n",t ype="n") axis(1,
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
2011 Aug 25
2
rpart: plot without scientific notation
While I'm very pleased with the results I get with rpart and rpart.plot, I would like to change the scientific notation of the dependent variable in the plots into integers. Right now all my 5 or more digit numbers are displayed using scientific notation. I managed to find this: http://tolstoy.newcastle.edu.au/R/e8/help/09/12/8423.html but I do not fully understand what to change, and to