xfim / ggmcmc

Graphical tools for analyzing Markov Chain Monte Carlo simulations from Bayesian inference
111 stars 31 forks source link

Upgrade ggpairs example #48

Closed schloerke closed 8 years ago

schloerke commented 8 years ago

Hi @xfim,

Here's a pull request to fix the ggs_pairs example.

I moved the GGally into imports, as you only import / need ggpairs. You already had the import statement in place, so it should have no impact. The CRAN people love to import vs. depend.

Quick note:

The example takes longer than 5 seconds. If it's just one, they might let it slide, but they get mad at me. :-/ . To get around this, I store the plotmatrix to a variable, then I comment the variable on the next line.

Hope this helps!

Best, Barret