3

DBDA2E Programs Updated

 1 year ago
source link: http://doingbayesiandataanalysis.blogspot.com/2023/04/dbda2e-programs-updated.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

DBDA2E Programs Updated

Three R scripts within the set of DBDA2E programs have been updated to work properly with R4.0+. You can get the updated versions by downloading the entire new zip file from the bottom of the software page at https://sites.google.com/site/doingbayesiandataanalysis/software-installation 

The three changes:

  • DBDA2E-utilities.R changed a line that used class() into inherits().
  • Jags-Ycount-Xnom2fac-MpoissonExp.R changed postContrast = ( mcmcMat[, ... to   postContrast = as.vector( mcmcMat[, ...
  • Jags-Yord-Xnom2grp-MnormalHet-Example.R has a frequentist t.test appended at the end, and needed an update to coerce a vector to a factor.

Thanks to Tom Busey for noticing and fixing the class() issue, thanks to Han Diesfeldt for pointing out a problem when running -MpoissonExp.R, and thanks to Artur Araujo for noticing and fixing the issue in -MnormalHet.

These three changes follow a raft of changes previously made to accommodate R4.1, as previously posted at http://doingbayesiandataanalysis.blogspot.com/2021/07/dbda2e-r-scripts-updated-for-r-41.html


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK