Check it out:
curve(dnbinom(1,mu=0.5,size=x),log="x",from=1,to=1e18)
abline(h=dpois(1,lambda=0.5),col=2,lty=2)
text(1,dpois(1,lambda=0.5)+0.02,"Poisson",col=2,pos=4)
I will take a look in the C code when I get
a chance to see if I can offer
a patch, but in the meantime wanted to alert peopl
Dear R-Devel,
I have had it in my mind for some time now that a Task View related to
R and education might be a good thing.
There are currently 19 Task Views, covering a broad spectrum of
general topics for which R may be used. The homepage lists 64 books
related to R, and several of them have a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
~ turns out I don't need to look at the C code.
~ if one uses the mu/size parameterization of the
negative binomial, R computes size/(size+mu) to
switch parameterizations. If size>>mu this
gets rounded to 1 ... should be easy enough
to test and r
I made a couple of a changes from the previous version:
- don't use functions anyMissing or notSorted (which aren't in base R)
- don't check for dup.row.names attribute (need to modify other functions
before that is useful)
I have not tested this with a wide variety of inputs; I'm assuming tha
> "TH" == Tim Hesterberg <[EMAIL PROTECTED]>
> on Tue, 1 Jul 2008 15:23:53 -0700 writes:
TH> There is a bug in the standard version of [.data.frame;
TH> it mixes up handling duplicates and NAs when subscripting rows.
TH> x <- data.frame(x=1:3, y=2:4, row.names=c("a","b","N
Full_Name: Sang Hyun Koh
Version: 2.7.0, 2.7.1
OS: MS Windows XP, Server 2003
Submission from: (NULL) (202.30.14.68)
Since R 2.7.0 & recent 2.7.1, Rgui.exe crashes on Korean Windows XP and 2003.
After change the locale language to Japanese, Chinese, English, and etc on
control panel, I had no pr
On Thu, 3 Jul 2008, tyler wrote:
Hi,
I've got a simulation function, written in C and called from R, that
uses the R random number functions. It's not a very complicated
simulation - 280 lines total, with the main function (the one called
with .C) repeatedly calling another function, with multi
Hi,
I've got a simulation function, written in C and called from R, that
uses the R random number functions. It's not a very complicated
simulation - 280 lines total, with the main function (the one called
with .C) repeatedly calling another function, with multiple calls to
unif_rand() in both fun
There needs to be a physical relocation of servers tomorrow (email and
home directories), so things are likely to be dysfunctional for the day
(hopefully not more).
I'll be out of email reach myself, for the same reason.
--
O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B
c
On 3 July 2008 at 14:08, Peter Dalgaard wrote:
| As for the subject matter, you _can_ actually create such at thing as an
| optimized, shared BLAS/Lapack, and it is probably faster than an
| unoptimized, shared one (well, at least you could create them when I
| played with this some years ago). It
Bjørn-Helge Mevik wrote:
>> If you are concerned about performance you definitely do not want to use
>> shared R, not a shared BLAS.
>>
>
> I'm sorry, I don't quite follow you here. Do you mean not create a shared R
> and not create a shared BLAS, or was there a "not" too many?
>
"Nor", I
Thank you for the advice!
--
Bjørn-Helge Mevik
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On Thu, 3 Jul 2008, Bjørn-Helge Mevik wrote:
Prof Brian Ripley <[EMAIL PROTECTED]> writes:
This is intentional.
Ok.
Please note what the R-admin manual says about
--with-lapack, including 'definitely *not* recommended'
Oh. I have always understood that as referring to --with-lapack, not
Prof Brian Ripley <[EMAIL PROTECTED]> writes:
> This is intentional.
Ok.
> Please note what the R-admin manual says about
> --with-lapack, including 'definitely *not* recommended'
Oh. I have always understood that as referring to --with-lapack, not
--with-lapack="-L/something...".
> If you ar
In R2.7.1, the first line of the body of png() reads:
checkIntFormat(filename)
This should really be:
if (!checkIntFormat(file))
stop("invalid 'file'")
Otherwise a command such as png("foo%s.png") causes R to crash (see bug
#10571).
-
Regards,
Richie.
Mathematical Sciences Unit
H
This is intentional. Please note what the R-admin manual says about
--with-lapack, including 'definitely *not* recommended'
If you are concerned about performance you definitely do not want to use
shared R, not a shared BLAS.
On Thu, 3 Jul 2008, Bjørn-Helge Mevik wrote:
Dear developeRs,
I'
Dear developeRs,
I'm trying to build R (2.7.1, on an x86_64 running Linux, but I believe
I have observed this on x86 and with earlier versions of R as well)
using external BLAS and LAPACK libraries _and_ generating libR.so,
libRblas.so and libRlapack.so.
Without --enable-BLAS-shlib, configure is
17 matches
Mail list logo