epGraphs {ExPosition} | R Documentation |
ExPosition plotting function which is an interface to prettyGraphs
.
epGraphs(res, x_axis = 1, y_axis = 2, epPlotInfo = NULL, DESIGN=NULL,
fi.col = NULL, fi.pch = NULL, fj.col = NULL, fj.pch = NULL, col.offset = NULL,
constraints = NULL, xlab = NULL, ylab = NULL, main = NULL,
contributionPlots = TRUE, correlationPlotter = TRUE,
graphs = TRUE)
res |
results from ExPosition |
x_axis |
which component should be on the x axis? |
y_axis |
which component should be on the y axis? |
epPlotInfo |
A list ( |
DESIGN |
A design matrix to apply colors (by pallete selection) to row items |
fi.col |
A matrix of colors for the row items. If NULL, colors will be selected. |
fi.pch |
A matrix of pch values for the row items. If NULL, pch values are all 21. |
fj.col |
A matrix of colors for the column items. If NULL, colors will be selected. |
fj.pch |
A matrix of pch values for the column items. If NULL, pch values are all 21. |
col.offset |
A numeric offset value. Is passed to |
constraints |
Plot constraints as returned from |
xlab |
x axis label |
ylab |
y axis label |
main |
main label for the graph window |
contributionPlots |
a boolean. If TRUE (default), contribution bar plots will be created. |
correlationPlotter |
a boolean. If TRUE (default), a correlation circle plot will be created. Applies to PCA family of methods (CA is excluded for now). |
graphs |
a boolean. If TRUE, graphs are created. If FALSE, only data associated to plotting (e.g., constraints, colors) are returned. |
epGraphs is an interface between ExPosition
and prettyGraphs
.
The following items are bundled inside of $Plotting.Data:
$fi.col |
the colors that are associated to the row items ($fi). |
$fi.pch |
the pch values associated to the row items ($fi). |
$fj.col |
the colors that are associated to the column items ($fj). |
$fj.pch |
the pch values associated to the column items ($fj). |
$constraints |
axis constraints for the plots (determines end points of the plots). |
Derek Beaton
#this is for ExPosition's iris data
data(ep.iris)
pca.iris.res <- epPCA(ep.iris$data)
#this will put plotting data into a new variable.
epGraphs.2.and.3 <- epGraphs(pca.iris.res,x_axis=2,y_axis=3)