View source: R/lmwEffectPlot.R
lmwEffectPlot | R Documentation |
Plots the ASCA scores by effect levels for a given model effect (for one by principal component at a time). This graph is particularly appealing to interpret interactions or combined effects.
lmwEffectPlot( resASCA, effectName, axes = 1, x, z = NULL, w = NULL, hline = 0, ... )
resASCA |
A list corresponding to the ASCA output value of |
effectName |
Name of the effect matrix used for the scores. |
axes |
A numerical vector with the Principal Components axes to be drawn. |
x |
A character string giving the |
z |
A character string giving the |
w |
A character string giving the |
hline |
If not |
... |
Additional arguments to be passed to |
lmwEffectPlot
is a wrapper of plotMeans
.
An effect plot (ggplot).
resLmwModelMatrix = lmwModelMatrix(UCH) resLmwEffectMatrices = lmwEffectMatrices(resLmwModelMatrix) resASCA = lmwPcaEffects(resLmwEffectMatrices = resLmwEffectMatrices, method="ASCA", combineEffects = list(c("Hippurate", "Time", "Hippurate:Time"))) lmwEffectPlot(resASCA, effectName = "Hippurate", x = "Hippurate")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.