Usage
lvplot.qrrvglm(object, varlvI = FALSE, reference = NULL,
add = FALSE, plot.it = TRUE,
rug = TRUE, y = FALSE, type = c("fitted.values", "predictors"),
xlab = paste("Latent Variable", if (Rank == 1) "" else " 1", sep = ""),
ylab = if (Rank == 1) switch(type, predictors = "Predictors",
fitted.values = "Fitted values") else "Latent Variable 2",
pcex = par()$cex, pcol = par()$col, pch = par()$pch,
llty = par()$lty, lcol = par()$col, llwd = par()$lwd,
label.arg = FALSE, adj.arg = -0.1,
ellipse = 0.95, Absolute = FALSE,
elty = par()$lty, ecol = par()$col, elwd = par()$lwd, egrid = 200,
chull.arg = FALSE, clty = 2, ccol = par()$col, clwd = par()$lwd,
cpch = " ",
C = FALSE, OriginC = c("origin", "mean"),
Clty = par()$lty, Ccol = par()$col, Clwd = par()$lwd,
Ccex = par()$cex, Cadj.arg = -0.1, stretchC = 1,
sites = FALSE, spch = NULL, scol = par()$col, scex = par()$cex,
sfont = par()$font, check.ok = TRUE, ...)
Arguments
object
A CQO or UQO object.
add
Logical. Add to an existing plot? If FALSE
, a new
plot is made.
rug
Logical. If TRUE
, a rug plot is plotted at the
foot of the plot (applies to rank-1 models only).
These values are jittered to expose ties.
y
Logical. If TRUE
, the responses will be plotted
(applies only to rank-1 models and if type="fitted.values"
.)
type
Either "fitted.values"
or "predictors"
,
specifies whether the y-axis is on the response or eta-scales
respectively.
xlab
Caption for the x-axis. See par
. ylab
Caption for the y-axis. See par
. pcex
Character expansion of the points.
Here, for rank-1 models, points are the response y data.
For rank-2 models, points are the optima.
See the cex
argument in par
. pcol
Color of the points.
See the col
argument in par
. pch
Either an integer specifying a symbol or a single character
to be used as the default in plotting points.
See par
.
The pch
argument can be of length $M$, the number of spe llty
Line type.
Rank-1 models only.
See the lty
argument of par
. lcol
Line color.
Rank-1 models only.
See the col
argument of par
. llwd
Line width.
Rank-1 models only.
See the lwd
argument of par
. label.arg
Logical. Label the optima and C?
(applies only to rank-2 models only).
adj.arg
Justification of text strings for labelling the optima
(applies only to rank-2 models only).
See the adj
argument of par
. ellipse
Numerical, of length 0 or 1 (applies only to rank-2 models only).
If Absolute
is TRUE
then ellipse
should be
assigned a value that is used for the elliptical contouring.
If Absolute
is
Absolute
Logical.
If TRUE
, the contours corresponding to ellipse
are on an absolute scale.
If FALSE
, the contours corresponding to ellipse
are on a relative scale.
elty
Line type of the ellipses.
See the lty
argument of par
. ecol
Line color of the ellipses.
See the col
argument of par
. elwd
Line width of the ellipses.
See the lwd
argument of par
. egrid
Numerical. Line resolution of the ellipses.
Choosing a larger value will result in smoother ellipses.
Useful when ellipses are large.
chull.arg
Logical. Add a convex hull around the
site scores?
clty
Line type of the convex hull.
See the lty
argument of par
. ccol
Line color of the convex hull.
See the col
argument of par
. clwd
Line width of the convex hull.
See the lwd
argument of par
. cpch
Character to be plotted at the intersection points of
the convex hull. Having white spaces means that site
labels are not obscured there.
See the pch
argument of par<
C
Logical. Add C (represented by arrows emanating
from OriginC
) to the plot?
OriginC
Character or numeric.
Where the arrows representing C emanate from.
If character, it must be one of the choices given. By default the
first is chosen.
The value "origin"
means c(0,0)
.
The value "
Clty
Line type of the arrows representing C.
See the lty
argument of par
. Ccol
Line color of the arrows representing C.
See the col
argument of par
. Clwd
Line width of the arrows representing C.
See the lwd
argument of par
. Ccex
Numeric. Character expansion of the labelling of C.
See the cex
argument of par
. Cadj.arg
Justification of text strings when labelling C.
See the adj
argument of par
. stretchC
Numerical. Stretching factor for C.
Instead of using C, stretchC *
C is used.
sites
Logical.
Add the site scores (aka latent variable
values, nu's) to the plot?
(applies only to rank-2 models only).
spch
Plotting character of the site scores.
The default value of NULL
means the row labels of the
data frame are used. They often are the site numbers.
See the pch
argument of par
scol
Color of the site scores.
See the col
argument of par
. scex
Character expansion of the site scores.
See the cex
argument of par
. sfont
Font used for the site scores.
See the font
argument of par
. check.ok
Logical. Whether a check is performed to see
that Norrr = ~ 1
was used.
It doesn't make sense to have a latent variable plot unless this is so.
...
Arguments passed into the plot
function
when setting up the entire plot. Useful arguments here include
xlim
and ylim
.