interaction.plot {interactionPlot}R Documentation

interaction.Plot

Description

Drawing an Interaction Plot.

Usage

interaction.plot<- function ( f1, f2, data, main = "Interaction Plot",
    			      xlab = deparse( substitute( f2 ) ),
                              ylab = paste( "Mean of", deparse( substitute( data ) ) ),
    			      legend = T, leg.order = 1:n1, ... ) 

Arguments

f1 First variable
f2 Second variable
data Data set

Author(s)

Kaspar Pflugshaupt: The author of the actual plot code. Ko-Kang Wang : Put together the files to form this package.

References

See Also

plot,par,meta.DSL

Examples

library(interactionPlot)
data(asphalt)
interaction.plot( Aggregate, Compaction, Strength,
                  main = "Effect of Compaction Method against Aggregate Type" )

interaction.plot( Compaction, Aggregate, Strength,
                  main = "Effect of Aggregate Type against Compaction Method" )




[Package Contents]