IntPlot {multiDimBio} | R Documentation |
A function to visualize the results of a MANOVA
Description
The function produces an interaction plot to demonstrate the results of a MANOVA using the function interaction.plot.
Usage
IntPlot(Scores, Cov.A, Cov.B, pvalues = rep(1, 8), int.pvalues = rep(1, 4))
Arguments
Scores |
A (non-empty) numeric matrix of principle component scores or raw data. |
Cov.A |
A (non-empty) bivariate factor vector indicating the factor for each row in Scores |
Cov.B |
A (non-empty) bivariate factor vector indicating the factor for each row in Scores |
pvalues |
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. |
int.pvalues |
An optional vector of p values for each interaction. The length of int.pvalues must equal the number of columns in Scores. |
Value
a list of plots stored as grid plots.
See Also
Examples
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)
[Package multiDimBio version 1.2.2 Index]