search for: nflip

Displaying 1 result from an estimated 1 matches for "nflip".

Did you mean: flip
2011 May 27
1
Error with BRugs 0.53 and 0.71, on Win7 with R 2.12.2 and 2.13.0 (crashes R GUI)
...\RtmpoNcfyf\downloaded_packages > library(BRugs) Loading required package: coda Loading required package: lattice Welcome to BRugs running on OpenBUGS version 3.0.3 > # Specify the model in BUGS language, but save it as a string in R: > modelString = " + model { + for ( i in 1:nFlips ) { + y[i] ~ dbern( theta ) + } + theta ~ dunif( priorA , priorB ) + priorA <- 0.6 + priorB <- 1.0 + } + " # close quote to end modelString > > # Write the modelString to a file, using R commands: > writeLines(modelString,con="model3.txt") > # Use BRugs...