Re: [R] Bayesian package

2003-04-14 Thread Spencer Graves
GAMMA-POISSON: Am I correct that the discrete marginal of a gamma-Poisson is negative binomial? Try, "?pnbinom" for that. The posterior is another gamma; use "?pgamma", etc., for that. GAMMA FUNCTION WITH LARGE ARGUMENTS: > lgamma(284) [1] 1318.403 > gamma(284) [1] Inf Acceptable? Spencer G

Re: [R] princomp with not non-negative definite correlation matrix

2003-04-14 Thread Prof Brian Ripley
On Thu, 10 Apr 2003 [EMAIL PROTECTED] wrote: > $ R --version > R 1.6.1 (2002-11-01). > > So I would like to perform principal components analysis on a 16X16 > correlation matrix, [princomp(cov.mat=x) where x is correlation matrix], > the problem is princomp complains that it is not non-negative d

Re: [R] rpart vs. randomForest

2003-04-14 Thread Martin Maechler
> "Anonymous" == <[EMAIL PROTECTED]> > on Sat, 12 Apr 2003 14:41:00 -0700 writes: Anonymous> Greetings. I'm trying to determine whether to use Anonymous> rpart or randomForest for a classification Anonymous> tree. Has anybody tested efficacy formally? I've Anonymous>

Re: [R] re: question on R

2003-04-14 Thread Ko-Kang Kevin Wang
Hi, It is a mailing list for users to help users on a volutary basis. There are, I think, thousands of people on this list. The idea is if one has a question regarding R, one will post to this list and someone will answer it. Usually the question will be answered by several people using dif

Re: [R] danish characters - installing R - linux redhat 8.0

2003-04-14 Thread Peter Dalgaard BSA
"Niels Steen Krogh" <[EMAIL PROTECTED]> writes: > I'm using R on a linux redhat 8.0 installation. > > The special danish characters (ÅØÆæøå) are showed wrong on the screen. > > Example: > > yy<-matrix(c(0,2,1,1,8),ncol=1,dimnames=list(c("Brøæå","AGF","AB","Farum","FC-Kbh." > ),c("Stemmer"))) >

[R] Memory size of R

2003-04-14 Thread Ramzi Feghali
Hi all, anybody know how much can the memory size of R be settled?ThxRamzi - [[alternate HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] cannot create postscript files with trellis graphics inside afunction

2003-04-14 Thread Faheem Mitha
Dear People, If I define foo <-function() { x <- rnorm(500) trellis.device(postscript, file="plot.ps") densityplot(~x) dev.off() } and call foo() then plot.ps is just a blank plot. However, if I extract the lines inside foo and run them, ie. x <- rnorm(500) trellis.device(postscript,