On Fri, 18 Dec 2009, Gabriel Becker wrote:
My understanding is that all the really fast vectorized operations are
implemented down in C code, not in R. Thus if you wanted to write a
vectorized switch, which I agree would be rather nice to have, you'd need to
do it down there and then write a .Ca
I've fixed this by adding 0.5/mn to q. The problem (at least in principle)
with multiplying them all up is integer overflow.
By the time 0.5/mn underflows to zero, missing one value in the distribution
won't matter.
-thomas
On Fri, 18 Dec 2009, David John Allwright wrote:
> Dear Tho
I've fixed this by adding 0.5/mn to q. The problem (at least in principle)
with multiplying them all up is integer overflow.
By the time 0.5/mn underflows to zero, missing one value in the distribution
won't matter.
-thomas
On Fri, 18 Dec 2009, David John Allwright wrote:
Dear Thoma
On Tue, 15 Dec 2009, allwr...@maths.ox.ac.uk wrote; (in part)
>
> x<-1:5
> y<-c(2.5,4.5)
> ks.test(x,y)
>
> The value of the D_2,5 statistic is calculated as 0.4 correctly, but the
> p-value is stated by R as 1, though in fact it should be 20/21=0.9524
What we seem to have here is a rounding err
On Tue, 15 Dec 2009, allwr...@maths.ox.ac.uk wrote; (in part)
x<-1:5
y<-c(2.5,4.5)
ks.test(x,y)
The value of the D_2,5 statistic is calculated as 0.4 correctly, but the
p-value is stated by R as 1, though in fact it should be 20/21=0.9524
What we seem to have here is a rounding error proble
> m<-matrix(c(0,1),ncol=2)
> printCoefmat(m)
[,1] [,2]
[1,] NaN1
Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf
3: In log(c(Inf, -Inf), 10) : NaNs produced
> sessionInfo()
R version 2.9.0 be
The explanation is that quote() is a primitive function and that the argument
matching rules do not apply to primitives. That section of the R Language
definition should say that primitives are excluded; it is documented in
?.Primitive.
-thomas
On Thu, 2 Apr 2009 w...@idi.ntnu.no wrot
1. This is not a bug (as you seem to realize), so it should not be sent to
r-bugs.
2. You seem to want the drop=FALSE argument to [], as in FAQ 7.5
-thomas
On Wed, 13 Aug 2008 [EMAIL PROTECTED] wrote:
> Good Day,
> I can understand that after indexing a single column in a matrix, R wi
On Wed, 19 Dec 2007, Prof Brian Ripley wrote:
> It transpires that package survey relies on the current behaviour (which is
> not new in 2.6.1: R 2.0.0 did it).
>
> The suggested fix is reasonable if 'data' was originally a data frame, but
> the default method promotes vectors to data frames, an
curve(qt(x,df=20,ncp=3),from=0,to=0.4)
curve(qt(x,df=20,ncp=3),from=0,to=0.004)
shows discontinuities, the first at 0.00135.
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
_
On Mon, 15 May 2006, [EMAIL PROTECTED] wrote:
> Dear R developers,
>
> We have a big SGI Origin computation server with 32 cpu's and 64 Gb of
> RAM. In R 2.0.0 we could run large jobs, allocating 8 Gb of RAM was not
> a problem, for example by running:
> > v1 <- seq(1,2^29)
> > v2 <- seq(1,2^29)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---1903393524-2062424977-1127399140=:32170
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---1903393524-540054921-1127222869=:28721
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
13 matches
Mail list logo