traceplot error

26 views
Skip to first unread message

James Camac

unread,
Apr 4, 2016, 8:24:50 PM4/4/16
to Stan users mailing list
Any idea what causes this error?
rstan::traceplot(test, pars=c('log_a0'))
Error in if (debug) { : argument is of length zero


James Camac

unread,
Apr 4, 2016, 8:26:40 PM4/4/16
to stan-...@googlegroups.com
Sorry just realised this is a known error.

Updating ggplot solved this for me.

Jonah Gabry

unread,
Apr 4, 2016, 8:33:27 PM4/4/16
to Stan users mailing list
Yeah I think this was fixed a few minor releases ago (it had to do with the major ggplot2 update a little while back). Which version of RStan are you using? If not the latest then hopefully just updating is all you need to do. 

Jonah
Reply all
Reply to author
Forward
0 new messages