Learn R Programming

multiDimBio (version 1.2.5)

IntPlot: 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))

Value

a list of plots stored as grid plots.

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.

See Also

Examples

Run this code
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