3 ms·
A simple Metropolis-Hastings MCMC in R
- cossatot 10y agoThanks, this is a nice little intro. Is it common practice in R to define global variables and then use them in functions without passing them directly, as is frequently done in this script?
- _Wintermute 10y agoNot particularly, although R doesn't have much of a canonical style and some of it is pretty hairy as most of the users don't have any formal programming experience.