R.matlab
R.matlab copied to clipboard
Unknown errors
Dear Bengtsson ,
I run writeMat("test.mat",gelman=gelman_summary)
but got an unknown errors:
Error in array(x, c(length(x), 1L), if (!is.null(names(x))) list(names(x), : 'data' must be of a vector type, was 'NULL'
The gelman_summary
is the results of Gelman and Rubin's diagnostic obtained from coda
package (also see https://rdrr.io/cran/coda/src/R/gelman.R).
I attach the the variable gelman_summary
below. Load it by readRDS("gelman_summary.txt")
gelman_summary.txt
Hope you could give me advice how to avoid this errors. Thank you for the great package!
Best, Keith