LeBauer:Software/Statistics: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template:DLeBauer}}
{{Template:DLeBauer}}
==R==
===R packages===
*[http://had.co.nz/ggplot2/ '''ggplot2'''] simplifies graphical data visualization and presentation
*'''coda''' tools for analysis of mcmc chains generated by JAGS
*'''randtoolbox''' has function for generating pseudo-random samples; the [http://en.wikipedia.org/wiki/Halton_sequence halton()] function produces a pseudo-random over-dispersed matrix that I use to sampling from the distributions of ~20 parameters used in ensemble runs of the [http://128.174.125.122/wiki/index.php/ED2_Documentation ED2 ecosystem model].
</pre>
==JAGS==
=====Installing Jags packages (rjags and R2jags) in R=====
<pre>
wget http://cran.r-project.org/src/contrib/R2jags_0.01-26.tar.gz
sudo R CMD INSTALL R2jags_0.01-26.tar.gz
wget http://cran.r-project.org/src/contrib/rjags_1.0.3-11.tar.gz
sudo R CMD INSTALL rjags_1.0.3-11.tar.gz
</pre>

Latest revision as of 09:53, 10 November 2010


<html> <script type="text/javascript">

 var _gaq = _gaq || [];
 _gaq.push(['_setAccount', 'UA-3103850-6']);
 _gaq.push(['_trackPageview']);
 (function() {
   var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
   ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
   var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
 })();

</script> </html>