Displaying 1 result from an estimated 1 matches for "waterhol".
Did you mean:
waterhole
2012 Jul 13
3
Help with R2 OpenBUGs
Hi, I'm currently working on the below codes however whenever I run it in
openbugs it gives an error message saying: unknown type of logical function
error pos 76. Any help would be appreciated.
## bugs code
library(R2OpenBUGS)
sink("C:/Users/CCF/Documents/Suzie Work/PTY Project/Waterhole
Correction/ungulate.txt")
cat("
model{
# hyperparameters
# habitat effects for each functional group
g <- length(table(G))
for(i in 1:g){ # number of functional group
for(j in 1:3){ # number of habitat type
mu.h[i,j] ~ dnorm(0,0.0001) I(-5,5)
sigma.h[i,j] ~ dunif(0,5)
tau.h[i,j] &...