You solved my problem, thank you.
As you said it's the type of the content in the matrix that caused the
problem.
I needed to put variable x along with other variables to the list, somehow
it turned out that x must be used in form of character in the statement:
dat <- list("x","otherVariables")
On Dec 26, 2010, at 12:44 AM, unsown wrote:
For some purpose, I need to transfer a NAs array to WinBugs through
R2WinBugs, But I constantly got an error message:"'type' must be
"real" for
this format". Here is my data to transfer:
x = matrix(data=NA,nrow=3,ncol=3)
str(x)
It is of mode "
2 matches
Mail list logo