[R] [R-pkgs] ggmcmc 0.2 has been released

2012-10-20 Thread Xavier Fernández i Marín
Dear all, ggmcmc-0.2 has been released. ggmcmc is a tool for assessing and diagnosing convergence of Markov Chain Monte Carlo simulations, as well as for graphically display results from full MCMC analysis. The package also facilitates the graphical interpretation of models by providing flexible

Re: [R] regression methods for rare events?

2012-06-06 Thread Xavier Fernández i Marín
David Studer vas escriure el dia dl, 04 jun 2012: > Hi everybody! > > I have a sample with n=2.000. This sample contains rare events (10, 20, 30 > individuals with a specific illness). > Now I'd like to do a logistic regression in order to identify risk factors. > I have several independent varia

Re: [R] Jags problem

2012-01-24 Thread Xavier Fernández i Marín
Yuanyuan Tang vas escriure el dia dl, 23 gen 2012: > Hi, all: > > I met "Non-conforming parameters for function %*%" problem, when I run the > Jags model in R. Please, try the JAGS forum: http://sourceforge.net/projects/mcmc-jags/forums/forum/610037 And start trying to find the problem as is r

Re: [R] Hinton Diagram for a matrix of weights

2011-12-28 Thread Xavier Fernández i Marín
Jim Lemon vas escriure el dia dj, 08 des 2011: > On 12/08/2011 03:45 AM, Xavier Fernández i Marín wrote: > > Hello, > > > > Although I have used a general search engine, r-seek, and browsed CRAN for > > contributed packages and R Gallery, I have not been able to fi

Re: [R] Hinton Diagram for a matrix of weights

2011-12-09 Thread Xavier Fernández i Marín
Jim Lemon vas escriure el dia dj, 08 des 2011: > The Hinton diagram looks fairly close to an image plot, or the > color2D.matplot function. The difference is that the area of the squares > in the Hinton plot are proportional to some value rather than the color, > which indicates the sign of the

[R] Hinton Diagram for a matrix of weights

2011-12-07 Thread Xavier Fernández i Marín
Hello, Although I have used a general search engine, r-seek, and browsed CRAN for contributed packages and R Gallery, I have not been able to find an implementation of Hinton Diagrams for representing weighting matrices using R. Does anyone knows a way of plotting weighting matrices in R? Thank

Re: [R] Matrix multiplication gives different results some of the times (NaN)

2011-09-13 Thread Xavier Fernández i Marín
Ben Bolker vas escriure el dia dt, 13 set 2011: > You mentioned that you had compiled R yourself. > Can you replicate this with a stock R binary, i.e. from a > Red Hat or Ubuntu repository? If not, can you give details of > your compilation setup, especially if you are using a specialized > or

Re: [R] Matrix multiplication gives different results some of the times (NaN)

2011-09-13 Thread Xavier Fernández i Marín
Rolf Turner vas escriure el dia dt, 13 set 2011: > > I tried your example code on my laptop running Ubuntu Linux, > and of course it ran --- just as it should (*has* to!) without any > problem; no errors thrown. > > This sort of thing should not/does not/cannot happen under > ``normal circumstan

Re: [R] Matrix multiplication gives different results some of the times (NaN)

2011-09-13 Thread Xavier Fernández i Marín
Joshua Wiley vas escriure el dia dt, 13 set 2011: > I cannot replicate this on, even with 1 milllion reps on: > > R version 2.13.1 (2011-07-08) > Platform: i386-pc-mingw32/i386 (32-bit) > > or > > R Under development (unstable) (2011-08-13 r56733) > Platform: x86_64-pc-mingw32/x64 (64-bit) > >

[R] Matrix multiplication gives different results some of the times (NaN)

2011-09-13 Thread Xavier Fernández i Marín
Dear all, When trying to multiply the same matrices repeatedly I get different results some of the times. It is not systematic, which is the fact that is giving me more trouble to try to isolate the problem. Basically I am doing X %*% B, where X is a Nx2 matrix and B is a vector with 2 values. I