Scientific Graphing Functions


Installation

This package can now be installed from CRAN.

Examples

Below are example graphs for the functions lineplot.CI() and bargraph.CI() using the "ToothGrowth" data.
> ToothGrowth[c(1:2,59:60),]
    len supp dose
1   4.2   VC  0.5
2  11.5   VC  0.5
59 29.4   OJ  2.0
60 23.0   OJ  2.0
Thumbnail Source
lineplot.CI(dose, len, group = supp, data = ToothGrowth, cex = 2,
            xlab = "Dose", ylab = "Growth", cex.lab = 1.5, x.leg = 1,
            col = c("blue","red"), pch = c(16,16))
bargraph.CI(dose, len, group = supp, data = ToothGrowth, split=TRUE)
bargraph.CI(dose, len, group = supp, data = ToothGrowth,
            xlab = "Dose", ylab = "Growth", cex.lab = 1.5, x.leg = 1,
            col = "black", angle = 45, cex.names = 1.25,
            density = c(0,20), legend = TRUE)