powered by
The function produces an interaction plot to demonstrate the results of a MANOVA using the function interaction.plot.
IntPlot(Scores, Cov.A, Cov.B, pvalues = rep(1, 8), int.pvalues = rep(1, 4))
a list of plots stored as grid plots.
A (non-empty) numeric matrix of principle component scores or raw data.
A (non-empty) bivariate factor vector indicating the factor for each row in Scores
An optional vector of p values for each covariate across Scores. The length of pvalues must equal the number of columns in Scores times 2.
An optional vector of p values for each interaction. The length of int.pvalues must equal the number of columns in Scores.
interaction.plot
data(Scores) data(CondA) data(CondB) pvals<-c(0.03,0.6,0.05,0.07,0.9,0.2,0.5,0.3) int.pvals<-c(0.3,0.45,0.5,0.12) IntPlot(Scores,CondA,CondB,pvalues=pvals, int.pvalues=int.pvals)
Run the code above in your browser using DataLab