[R] read.epiinfo() returns wrong data when reading epiinfo files with \032 at the end

2016-10-14 Thread Artur Neumann
ge:methods, Autoloads, package:base This package has a bug submission web page, which we will now attempt to open. The information above may be useful in your report. If the web page doesn't work, you should send email to the maintainer, R Core Team . Mit freundlichen Grüßen Artur Neumann

Re: [R] Using Rmpfr to round with precision in R

2014-11-29 Thread Artur Augusto
Thanks Martin, looks like the update fixed the issue. The round2 function is just to format the output. now I can get the correct result: library(Rmpfr) sprintf("%#.2f", round(mpfr(1.152, 200),2)) round2(1.152, 2) #[1] "1.15" Artur 2014-11-27 7:10 GMT-02:00 Martin Mae

[R] Using Rmpfr to round with precision in R

2014-11-19 Thread Artur Augusto
"1.2" But in some cases I don't get the desired results: round2(1.152, 2)# Should be 1.15 #[1] "1.16" Reading the Rmpfr docs, at the roundMpfr() function, it says: The mpfr class group method Math2 implements a method for round(x, digits) which rounds

Re: [R] A custom legend for three data frames in one plot

2014-07-08 Thread Artur Rataj
I have yet one problem, though -- with making the shapes solid. Neither "solid circle" nor "filled circle" works: points(sandwich3,cex=sandwich3$p*3,ph=19,col="gray") points(sandwich3,cex=sandwich3$p*3,ph=21,col="gray",bg="gray") ​although &qu

Re: [R] A custom legend for three data frames in one plot

2014-07-08 Thread Artur Rataj
Thanks Jim. It works almost exactly like I wanted, I only had to make shape size variable: points(sandwich1,cex=sandwich1$p) Best regards, Artur [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] A custom legend for three data frames in one plot

2014-07-06 Thread Artur Rataj
=legend, etc., but it changes nothing. How could it be done? Cheers, Artur [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.

Re: [R] Rounding

2013-01-06 Thread Artur Augusto
For more details about floating-point: http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html 2013/1/5 peter dalgaard > > On Jan 5, 2013, at 20:30 , Rolf Turner wrote: > > > On 01/06/2013 07:42 AM, David Arnold wrote: > >> Hi, > >> > >> Can someone explain this: > >> > >>> options(digit

[R] R package submission

2012-01-22 Thread Artur
Hello there I will submit my first R package soon and I m curious If I can submit a package with an algorithm which is not published in a journal yet. I see most people are writing papers on their packages. So I assumed they submitted their packages before the publication of their new methods (li

[R] persp(): how to control the distance between the axis and the axis labels

2007-12-26 Thread Artur Matos
detailed", xlab="Beta'", ylab="K'", zlab="Density", main="Grammar Based") Best regards, Artur. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the postin