Closed sebdalgarno closed 4 months ago
In argList$model : partial match of 'model' to 'modelValues'
Note this only occurs if the option warnPartialMatchDollar is TRUE
simple repress
options(warnPartialMatchDollar = TRUE) library(nimble) constants <- list(x = 1:10, nobs = 10) data <- data.frame(y = 2:12) code <- nimble::nimbleCode({ b ~ dunif(1, 10) for(i in 1:nobs) { ey[i] <- x[i] + b y[i] ~ dnorm(ey[i], sd = 2) } }) fit <- nimbleMCMC(code = code, constants = constants, data = data)
Fixed by #1422
In argList$model : partial match of 'model' to 'modelValues'
Note this only occurs if the option warnPartialMatchDollar is TRUE
simple repress