as.matrix_or_vec | R Documentation |
convert one column data frame to a vector
as.matrix_or_vec(x)
x |
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.
a vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.