# Sweave Example 1 using a HTML file

Eric Lecoute
Adapted from Friedrich Leisch example for LaTeX Sweave

In this example we embed parts of the examples from the kruskal.test from help page into a HTML document:

<>= data(airquality) library(ctest) kruskal.test(Ozone ~ Month, data=airquality) @

which showns that the location parameter of the Ozone distribution varies significantly from month to month. Finally, we include a boxplot of the data: <>= boxplot(Ozone ~ Month, data=airquality) @