Several problems:
1. You havbe an object called "matrix", that actually is a list of two
data.frames. WinBUGS does not know about data,frames. You have to
provide a matrix here, hence
bugs(., data=list(Y=as.matrix(Y), Nf=5, ), )
2. In your model file, you have
gamma[1:2 ]
T[1:2
Hi All:
I am getting an error (highlighted) from running R2WinBUGS in R.
To be able to replicate the situation heres the code:
.#Set working directory
setwd("H://AChaudhuri/Testing/CSVS")
matrix=NULL
csvs <- paste("MVN", 1:2, ".csv", sep="")
for(i in 1:length(csvs)){
matrix[[i]] <- read.csv(file=
2 matches
Mail list logo