inst/extdata/n_opt_jags_model.R

## JAGS model file for the n.opt function

model {
    mu ~ dnorm(nu, 1 / tau^2)
        
    for (i in 1:k) {
        X[i] ~ dnorm(mu, n / sigma^2)
    }    
}

Try the bdpopt package in your browser

Any scripts or data that you put into this service are public.

bdpopt documentation built on May 2, 2019, 9:18 a.m.