Skip to content

Instantly share code, notes, and snippets.

@richarddmorey
Created May 3, 2016 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richarddmorey/1f4796e00718add5b56181163c0a8ffa to your computer and use it in GitHub Desktop.
Save richarddmorey/1f4796e00718add5b56181163c0a8ffa to your computer and use it in GitHub Desktop.
variance stability post, code part 1
# Install the BayesFactor and devtools packages, if you don't already have them
# Load my S4 class for representing real numbers with logarithms
# and performing arithmetic on them
# See the code at https://gist.github.com/richarddmorey/3c77d0065983e31241bff3807482443e
devtools::source_gist('3c77d0065983e31241bff3807482443e')
# set random seed so results are reproducible
set.seed(2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment