I have updated a function dag_greta for your review.
A new parameter extraPara is added. A user can specify extra parameters in the model statement
If extraPara is not null, drawsDF_all is generated to include all parameters, drawsDF stays the same, and draws_extraDF is generated for the extra parameters
I have created a function dag_posterior for your review.
The function does not work for a model with a plate node for now. A message is shown for this.
The function only works for three distributions, normal, Bernoulli, and Poisson
A message is shown if parameters in need are not estimated.
Adam,
I have updated a function dag_greta for your review.
I have created a function dag_posterior for your review.
Thanks, Chuan