Usage
xy.plot.lat(x, y, ylim = c(-0.05, 1.05), xlim = c(-0.05, 1.05), main = "", pch = 19, col = "black", cex.fit = 1, ylab = "Outcome", xlab = "Condition", pos.fit = "top", strip.cex = 0.8, necessity = FALSE, show.fit = TRUE, case.lab = FALSE, lab.pos = 4, labs = NULL, show.hv = TRUE)
Arguments
x
vector containing the condition.
y
vector containing the outcome.
ylim
limits of y-axis. The default is c(-0.05, 1.05).
xlim
limits of x-axis. The default is c(-0.05, 1.05).
main
an overall title for the plot. The default is "". See ?xyplot.
pch
plotting "character". The default is 19. See ?pch or ?xyplot.
col
color for the plotting "character". The default is "black". See ?par or ?xyplot.
cex.fit
character expansion for the parameters of fit. The defaut is 0.6. See ?pch or ?text.
ylab
a title for the y-axis. The default is "Outcome". See ?title or ?xyplot.
xlab
a title for the x-axis. The default is "Condition". See ?title or ?xyplot.
pos.fit
character. Indicates the position of the parameters of fit. The positions are "top", which places the parameters of fit in a strip on top of the plotting area, or "corner", which places the parameters of fit in the corner of the plotting are. The default is pos.fit = "top".
strip.cex
character expansion for the parameters of fit when pos.fit = "top". The defaut is 0.8. See ?pch or ?text.
necessity
logical. Indicates if the parameters of fit are calculated for a sufficient or necessary condition. The default is FALSE, therefore it calculates the parameters of fit for sufficiency. To get the parameters of fit for necessary conditions set necessity as TRUE.
show.fit
logical. Indicates if parameters of fit have to be shown. The default is TRUE.
case.lab
logical. Indicates if cases have to be labeled. The default is TRUE.
lab.pos
a position specifier for the case labels. Values of 1, 2, 3 and 4, respectively indicate positions below, to the left of, above and to the right of the specified coordinates. The default is 4. See ?text.
labs
the vector of case labels. The default is NULL.
show.hv
logical. Indicates if horizontal and vertical lines at 0.5 have to be shown. The default is TRUE.