View source: R/lmwScoreScatterPlotM.R
lmwScoreScatterPlotM | R Documentation |
Plots the scores of all model effects simultaneously in a scatterplot matrix. By default, the first principal component only is kept for each model effect and, as a wrapper of plotScatterM
, the choice markers and colors for factor levels allow to enrich the visualization of the factor effects on the responses.
lmwScoreScatterPlotM( resLmwPcaEffects, effectNames = NULL, PCdim = NULL, modelAbbrev = FALSE, ... )
resLmwPcaEffects |
A list corresponding to the output value of |
effectNames |
A character vector with the name of the effects to plot. |
PCdim |
A numeric vector with the same length than effectNames and indicating the number of component to plot. |
modelAbbrev |
A logical whether to abbreviate the interaction terms or not. |
... |
Additional arguments to be passed to |
lmwScoreScatterPlotM
is a wrapper of plotScatterM
.
A matrix of graphs
data('UCH') resLmwModelMatrix = lmwModelMatrix(UCH) ResLmwEffectMatrices = lmwEffectMatrices(resLmwModelMatrix) resLmwPcaEffects = lmwPcaEffects(ResLmwEffectMatrices,method="ASCA-E") lmwScoreScatterPlotM(resLmwPcaEffects, varname.colorup = "Citrate", varname.pchup="Hippurate", varname.pchdown = "Day", varname.colordown="Time") # advanced setting lmwScoreScatterPlotM(resLmwPcaEffects, modelAbbrev=FALSE, effectNames = c("Citrate","Hippurate","Hippurate:Citrate"), PCdim=c(2,2,2), varname.colorup = "Citrate", vec.colorup = c("red","blue","green"), varname.pchup="Hippurate", vec.pchup=c(1,2,3), varname.pchdown = "Day", vec.pchdown = c(4,5), varname.colordown="Time", vec.colordown = c("brown","grey"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.