[R] R2BayesX help

2016-04-21 Thread Hairong Gu
Hi, I wonder if anyone can help me with this issue. I am using R2BayesX. It seems that the model can maximally contain 20 interactions. When the number of interaction terms exceed 20, the code stops working. Here is a piece of toy code. rm(list=ls()) library(BayesX) library(R2BayesX) #data gener

Re: [R] R2BayesX

2015-02-05 Thread Shanley Chong
: [R] R2BayesX Shanley, thanks for the example. > Thank you for your help. > Here is my R codes: > >> data("MunichBnd") > >> N <- length(MunichBnd); n <- N*5 >> dat <- data.frame(x1 = runif(n, -3, 3),id = >> as.factor(rep(names(MunichBnd), len

Re: [R] R2BayesX

2015-02-05 Thread Achim Zeileis
bs = "re"), data = d, method = "MCMC", family = "gaussian") are all ok. Niki has contacted the original BayesX authors who might be able to give more insight. For the moment, I would recommend to use method="REML". Best, Z Kind regards, Shanley -

Re: [R] R2BayesX

2015-02-04 Thread Shanley Chong
27;gaussian', it doesn't have problem. b_poi <- bayesx(y_poi ~ sx(x1) + sx(id, bs = "mrf", map = MunichBnd) + sx(id, bs = "re"), method = "MCMC", data = dat, family='gaussian') Kind regards, Shanley -Original Message- From: Achim Zeil

Re: [R] R2BayesX

2015-02-04 Thread Achim Zeileis
Shanley: I am trying to run STAR logistic/binomial model using R2BayesX . A warning message came up every time when i included a random effect, bs='re', (unstructured spatial effect) into the model. The warning message is : Warning message: running command '"C:/Users/ChongS/Documents/R/win-li

[R] R2BayesX

2015-02-03 Thread Shanley Chong
Hi, I am trying to run STAR logistic/binomial model using R2BayesX . A warning message came up every time when i included a random effect, bs='re', (unstructured spatial effect) into the model. The warning message is : Warning message: running command '"C:/Users/ChongS/Documents/R/win-library/

Re: [R] R2BayesX (command bayesx) doesn't work

2012-06-07 Thread Achim Zeileis
On Wed, 6 Jun 2012, Prof Brian Ripley wrote: On 06/06/2012 16:13, niandra wrote: Hi all, I have a problem with the library R2BayesX, when i try to use the command bayesx i get this error: dyld: Library not loaded: /usr/local/lib/libreadline.5.2.dylib Referenced from: /Library/Frameworks/R.f

Re: [R] R2BayesX (command bayesx) doesn't work

2012-06-06 Thread niandra
I thought was a problem of the command bayesx and not an installation problem. Now, i don't now why, it works. -- View this message in context: http://r.789695.n4.nabble.com/R2BayesX-command-bayesx-doesn-t-work-tp4632541p4632600.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] R2BayesX (command bayesx) doesn't work

2012-06-06 Thread Prof Brian Ripley
On 06/06/2012 16:13, niandra wrote: Hi all, I have a problem with the library R2BayesX, when i try to use the command bayesx i get this error: dyld: Library not loaded: /usr/local/lib/libreadline.5.2.dylib Referenced from: /Library/Frameworks/R.framework/Versions/2.15/Resources/library/BayesX

[R] R2BayesX (command bayesx) doesn't work

2012-06-06 Thread niandra
Hi all, I have a problem with the library R2BayesX, when i try to use the command bayesx i get this error: dyld: Library not loaded: /usr/local/lib/libreadline.5.2.dylib Referenced from: /Library/Frameworks/R.framework/Versions/2.15/Resources/library/BayesXsrc/libs/i386/BayesX Reason: image no