25.12.2013 Views

CRANFIELD UNIVERSITY Eleni Anthippi Chatzimichali ...

CRANFIELD UNIVERSITY Eleni Anthippi Chatzimichali ...

CRANFIELD UNIVERSITY Eleni Anthippi Chatzimichali ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 6-9 Sweave example for the dynamic construction of a PDF report directly from R<br />

The figure illustrates the simplicity of the Sweave format; all R functions are fused together with the LATEX commands into a single *.Rnw file. In this example, Sweave<br />

generates a dynamic pdf report containing a ggplot2 boxplot for the comparison of permutation results for different classification ensembles. The relevant data are read from<br />

a comma-delimited Excel file. If the input data were to be changed by providing a different file, the actual R script could still be used without alterations in order to reproduce<br />

the final figure; thus, great reproducibility is accomplished.<br />

191

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!