powered by
convert one column data frame to a vector
as.matrix_or_vec(x)
a vector
an one-column data.frame
JAGS cannot accept a data frame with one column; This function converts it to a vector, which JAGS will allow.