Plot the results of a GxE univariate test for moderation of ACE components.
Plot GxE results (univariate environmental moderation of ACE components). Options include plotting the raw and standardized graphs separately, or in a combined panel. You can also set the label for the x axis (xlab), and choose the location of the legend.
umxPlotGxEbiv(x, xlab = NA, location = "topleft", separateGraphs = FALSE, ...)
x |
A fitted |
xlab |
String to use for the x label (default = NA, which will use the variable name) |
location |
Where to plot the legend (default = "topleft") see ?legend for alternatives like bottomright |
separateGraphs |
(default = FALSE) |
... |
Optional additional parameters |
None
plot()
, umxSummary()
work for IP, CP, GxE, SAT, and ACE models.
Other Plotting functions:
plot.MxLISRELModel()
,
plot.MxModelTwinMaker()
,
plot.MxModel()
,
umxPlotACEcov()
,
umxPlotACEv()
,
umxPlotACE()
,
umxPlotCP()
,
umxPlotDoC()
,
umxPlotFun()
,
umxPlotGxE()
,
umxPlotIP()
,
umxPlotSexLim()
,
umxPlotSimplex()
,
umx
require(umx) data(twinData) ## Not run: selDVs = "wt"; selDefs = "ht" df = umx_scale_wide_twin_data(twinData, varsToScale = c("ht", "wt"), suffix = "") mzData = subset(df, zygosity %in% c("MZFF", "MZMM")) dzData = subset(df, zygosity %in% c("DZFF", "DZMM", "DZOS")) m1 = umxGxEbiv(selDVs = selDVs, selDefs = selDefs, dzData = dzData, mzData = mzData, sep = "", dropMissingDef = TRUE) # Plot Moderation plot(m1) umxPlotGxEbiv(m1, xlab = "wt", separateGraphs = TRUE, location = "topleft") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.