LeBauer:Software/Statistics: Difference between revisions
From OpenWetWare
Jump to navigationJump to search
| Line 18: | Line 18: | ||
===Custom R packages=== | ===Custom R packages=== | ||
See the [http://cran.r-project.org/doc/manuals/R-exts.html Writing R Extensions] guides for more information. | See the [http://cran.r-project.org/doc/manuals/R-exts.html Writing R Extensions] guides for more information. | ||
Revision as of 16:52, 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>
R
public R packages
- ggplot2 simplifies graphical data visualization and presentation
- coda tools for analysis of mcmc chains
- randtoolbox has function for generating pseudo-random samples; the 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 ED2 ecosystem model.
- adimpro for image analysis
##example R code for extracting jpg to N x M x 3 matrix
##much slower than Matlab imread()
a <- read.image('file.jpg')
b <- extract.image(a)
red <- b[,,1]
green <- b[,,2]
blue <- b[,,3]
Custom R packages
See the Writing R Extensions guides for more information.