Respected All,
I am writing a program in R and facing some problem with applying "if statment".
Program first draw random numbers from bivariate normal distribution
then compute variable say Pi and Pij from that sample and
then further computation
.
.
.
In some samples Pij is
ping
David Bateman wrote:
> Dear R developers,
>
> I'm an Octave developer in the process of implementing a single
> precision type in Octave and I have an issue with the NA value. The
> choice of NA value in Octave was made a few years back so that the high
> word of the NA value was 0x7ff0 a
> "PD" == Peter Dalgaard <[EMAIL PROTECTED]>
> on Thu, 26 Jun 2008 15:03:31 +0200 writes:
PD> Vincent Carey 525-2265 wrote:
PD> Works for me... what's in your SVN-REVISION file? Notice that there is
PD> some slightly weird logic to distinguish whether you are building from
Vincent Carey 525-2265 wrote:
Works for me... what's in your SVN-REVISION file? Notice that there is
some slightly weird logic to distinguish whether you are building from
SVN or from tarballs, based on the existence of $(srcdir)/doc/FAQ and
$(builddir)/non-tarball. If you have the former and
this is from a fresh svn checkout:
[EMAIL PROTECTED] R-devel]$ ls -tl Makefile
-rw-rw-r-- 1 stvjc stvjc 12833 Jun 26 07:24 Makefile
[EMAIL PROTECTED] R-devel]$ svn up
At revision 45988.
[EMAIL PROTECTED] R-devel]$ bin/R
R version 2.8.0 Under development (unstable) (--)
Copyright (C) The R Found
Full_Name: Morten Welinder
Version:
OS: Linux
Submission from: (NULL) (69.113.253.99)
It appears that phyper hangs for insanely large x, such as the call
phyper(1e67,0,0,0)
Adding something like this after the tail swap seems to cure that.
if (x >= NR)
return R_DT_1;