Re: [R] Error with convUL (PBSmapping)

2012-08-08 Thread niandra
> Best, > Michael > > On Tue, Aug 7, 2012 at 7:21 AM, niandra wrote: >> Hi all, >> >> I'm trying to use the function "convUL" from the Package PBSmapping but i >> get i weird error with my data but also with the example in the convUL's >

[R] Error with convUL (PBSmapping)

2012-08-07 Thread niandra
Hi all, I'm trying to use the function "convUL" from the Package PBSmapping but i get i weird error with my data but also with the example in the convUL's help. Here is the example script with the error message: data(nepacLL, package="PBSmapping") #--- set the zone attribute #--- use a zone th

[R] Predict in the package R2BayesX

2012-06-06 Thread niandra
Hi all I'm using the function bayesx to estimate a simple model, for example: library(R2BayesX) ## generate some data set.seed(111) n <- 200 ## regressor dat <- data.frame(x = runif(n, -3, 3)) ## response dat$y <- with(dat, 1.5 + sin(x) + rnorm(n, sd = 0.6)) ## estimate models with ## bayesx

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.

[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

[R] Prediction of the lme part of a gamm model estimated with mgcv

2012-05-31 Thread niandra
Dear useRs, I'm using the mgcv package for estimate a model with a smooth effect and a spatial covarianza matrix. I use the command predict(model$lme) to obtain a prediction with the fixed and random part of the model, but i need this kind of prevision also on a grid with different points than t