Skip to content

Instantly share code, notes, and snippets.

@bw4sz
Created April 27, 2016 20:26
Show Gist options
  • Save bw4sz/95d2cc18017c6b4f4367bd90cfcb1235 to your computer and use it in GitHub Desktop.
Save bw4sz/95d2cc18017c6b4f4367bd90cfcb1235 to your computer and use it in GitHub Desktop.
> m2$parameters.to.save
[1] "detect" "alpha" "beta1" "beta2" "intercept" "sigma_alpha"
[7] "sigma_beta1" "sigma_beta2" "gamma1" "gamma2" "fit" "fitnew"
[13] "ynew"
> newm<-update(m2,n.iter=runs,n.burnin=runs*.95,n.thin=5,parameters.to.save="dprior")
|**************************************************| 100%
|**************************************************| 100%
> newm$parameters.to.save
[1] "detect" "alpha" "beta1" "beta2" "intercept" "sigma_alpha"
[7] "sigma_beta1" "sigma_beta2" "gamma1" "gamma2" "fit" "fitnew"
[13] "ynew"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment