welcome: please sign in
location: CategoryOther / Vector function of vector function

Brief Description


*Operating System:
*OpenBUGS version: 3.2.1 r823

Example

GUI instructions or script (preferred) to produce bug (Use attachment button to add)

Writing a vector function of the result of a vector function crashes the parser on checking the model. If it's not intended to work it should at least give an informative error message.


Model, data, inits (.odc file preferred, Use attachment button to add)

model{
x[1] <- 0 ; x[2] <- 1
y[1] <- 0 ; y[2] <- 1
z <- mean(mean(x))
# Other examples:
# z <- sum(sum(x[1:2]))
# z <- sum(inprod(x[], y[]))
}


Plan


CategoryOther/Vector function of vector function (last edited 2011-06-09 14:47:14 by ChrisJackson)