Friday, February 11, 2022

Bayesian analysis reporting guidelines hit 10K downloads

The Bayesian analysis reporting guidelines (BARG) have now, in just under six months, had 10,000 downloads from the publisher's site:

I hope that people actually find the BARG to be useful!  You can read more about the BARG at the short blog post at Nature:



Saturday, October 2, 2021

sisyphus.R

life <- function( luck=10 , ... ) {
  if ( runif(1) > 1/(luck+1.001) ) {
    cat( "push stone uphill... " )   
  } else {
    cat( "\nstone rolls to bottom\n" )
  }
  life( luck , ... )
}

Or maybe you prefer a life with less hard labor, and with more philosophy:

life <- function( luck=10 , ... ) {
  if (runif(1)>
1/(luck+1.001)){cat("?")}else{cat("\n")}
  life( luck , ... )
}
 

life()

Either way, R replies with wisdom:

Error: evaluation nested too deeply


Suitable for framing?