qmb.plot {qmethod} | R Documentation |
Q Methodology: Plot of bootstrap results
Description
Plots the summary of bootstrap results, either z-scores or factor loadings.
Usage
qmb.plot(qmbsum, type = c("zsc", "loa"), nfactors,
cex = 0.7, cex.leg = 0.8, errbar.col = "black",
lwd = 1, lty = 1, vertdist = 0.2, limits = NULL,
r.names = NA, sort = c("none", "difference", "sd"),
sbset = NULL, leg.pos = "topleft",
bty = "n", plot.std = TRUE, pch= NULL,
col=NULL, grid.col="gray", ...)
Arguments
qmbsum |
an object with the summary of bootstrap results, as produced by |
type |
the subject to plot, either z-zcores of statements or factor loadings of Q-sorts. |
nfactors |
number of factors extracted. |
cex |
a numerical value giving the amount by which plotting text and symbols should be magnified relative to the default (see |
cex.leg |
a numerical value giving the amount by which the legend should be magnified relative to |
errbar.col |
colour used for the error bars. Defaults to |
lwd |
line width (see |
lty |
line type (see |
vertdist |
distance between the values for each factor. |
limits |
axis limits for the numerical values. If set to |
r.names |
names of the items to be printed in the axis ticks(either Q-sorts when |
sort |
ordering of the items in the axis. If set to |
sbset |
How many items are to be printed? When the value is |
leg.pos |
Position of the legend. |
bty |
Legend box (see |
plot.std |
logical value. When set to |
pch |
plotting symbols. Defaults to |
col |
colours for the points. At least as many elements as number of factors have to be provided. |
grid.col |
colour of the grid. |
... |
additional arguments to be passed to the functions |
Author(s)
Aiora Zabala
References
Zabala, Pascual (2016) Bootstrapping Q Methodology to Improve the Understanding of Human Perspectives. PLoS ONE 11(2): e0148087.
See Also
Examples
data(lipset)
boots <- qmboots(lipset[[1]], nfactors = 3, nsteps = 50,
load = "auto", rotation = "varimax",
indet = "qindet", fsi = TRUE)
boots.summary <- qmb.summary(boots)
qmb.plot(boots.summary, 3, type = "loa", sort="difference")