#6 Enhance inits= diagnostics

Unstable_(example)
accepted
nobody
None
1
2013-06-14
2013-04-09
No

At the moment, if there is an error in specifying jags.model(inits=), rjags just outputs the basic message ("Invalid initial values"). The proposed patch provides more specific description of the error. The check done is only once -- when the init.values for all the chains has been assigned.

It also makes jags.model() treat inits=NULL as no initial values specified (previously only missing() was checked).

1 Attachments

Discussion

  • Martyn Plummer

    Martyn Plummer - 2013-06-14

    Nice patch. Thank you. I have checked this in and added you as a contributor.

     
  • Martyn Plummer

    Martyn Plummer - 2013-06-14
    • status: open --> accepted
     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks