Monthly Archives: September 2009

Learning ggplot2: 2D plot with histograms for each dimension

September 3, 2009
By
Learning ggplot2: 2D plot with histograms for each dimension

Update (April 2013): The code below doesn't work anymore with new ggplot2 versions, here is an updated version.I have two 2D distributions and want to show on a 2D plot how they are related, but I also want to show the histograms (actually, density plots in this case) for each dimension. Thanks to ggplot2 and a

Read more »

Learning ggplot2: 2D plot with histograms for each dimension

September 3, 2009
By
Learning ggplot2: 2D plot with histograms for each dimension

I have two 2D distributions and want to show on a 2D plot how they are related, but I also want to show the histograms (actually, density plots in this case) for each dimension. Thanks to ggplot2 and a Learning R post, I have sort of managed to do what I want to have:

Read more »

Fitting lactation curves/functions in R

September 3, 2009
By

It is quite some time ago since I wrote a set of lactation curves/functions in R. I put those functions in the animSci package. However, the package is in a mess for quite some time now - I was adding some new functions, but did not have time to finish the job properly. This is also the reason...

Read more »

Fitting lactation curves/functions in R

September 3, 2009
By

It is quite some time ago since I wrote a set of lactation curves/functions in R. I put those functions in the animSci package. However, the package is in a mess for quite some time now - I was adding some new functions, but did not have time to finish the job properly. This is also the reason...

Read more »

R capable version of ant

September 2, 2009
By

ant is an amazing build tool. I have been using ant for some time to build the java code that lives inside the src directories of my R packages, see this post for example.The drawbacks of this approach are :that it assumes ant is available on...

Read more »

Tip: get java home from R with rJava

September 2, 2009
By

Assuming rJava is installed and works, it is possible to take advantage of its magic to get the path where java is installed:$ Rscript --default-packages="methods,rJava" -e ".jinit(); .jcall( 'java/lang/System', 'S', 'getProperty', 'java.home' )...

Read more »

Analysis of Variance

September 1, 2009
By
Analysis of Variance

In an experiment study, various treatments are applied to test subjects and the response data is gathered for analysis. A critical tool for carrying out the analysis is the Analysis of Variance (ANOVA). It enables a researcher to differentiate treatm...

Read more »

Analysis of Variance

September 1, 2009
By
Analysis of Variance

In an experiment study, various treatments are applied to test subjects and the response data is gathered for analysis. A critical tool for carrying out the analysis is the Analysis of Variance (ANOVA). It enables a researcher to differentiate treatm...

Read more »