kenkellner / jagsUI

R package to Run JAGS (Just Another Gibbs Sampler) analyses from within R
https://kenkellner.github.io/jagsUI/
35 stars 7 forks source link

process.output() breaks when there is only 1 saved iteration #20

Closed kenkellner closed 6 years ago

kenkellner commented 6 years ago

process.output() tries to use colnames() on a vector, resulting in errors later on. Need to put in a sanity check so names() is used in this case instead.

#Get parameter names

params <- colnames(x[[1]])

Here

kenkellner commented 6 years ago

Should be fixed in efbb522