Reputation: 61
I'm currently working on rstan. After fitting the moedel, I try to perform a bit diagnostic plotting, and I use the following syntax pairs(x = fit, pars = c("alpha", "beta"))
. The fit
is my stanfit
object, meanwhile alpha and beta are the parameters of the fit
. I kept getting Warning: argument 1 does not name a graphical parameter
.
Does anybody know what does this warning imply, and what should I do to solve the problem? Thanks in advance!
I searched online for this warning message, and surprisingly, there are not many questions on this, so I suppose this could be a studpid problem which I didn't notice.
I used syntax pairs(~ alpha + beta, data = fit)
, which worked but didn't output the ideal plots I need.
Upvotes: 1
Views: 656