Produces a graphical representation of model weights per model term.
# S3 method for model.selection
plot(x, ylab = NULL, xlab = NULL, labels = attr(x, "terms"),
labAsExpr = TRUE, mar.adj = TRUE,
col = c("SlateGray", "SlateGray2"), col2 = "white", border = par("col"),
par.lab = NULL, par.vlab = NULL,
axes = TRUE, ann = TRUE, ...)
A numeric vector of model weights.
a "model.selection"
object.
labels for the x and y axes.
optional, a character vector or an expression containing model term labels (to appear on top side of the plot). Its length must be equal to number of model terms in the table. Defaults to the model term names.
a logical indicating whether the character labels should be
interpreted (parse
d) as R expressions.
logical indicating whether the upper margin should be expanded to fit the labels
vector of colors for columns (if more than one col
is
given, columns will be filled with alternating colors). If col2
is
specified cells will be filled with gradient from col
to col2
.
col2 = NA
produces no gradient.
border color for cells and axes.
optional lists of graphical parameters for the term labels (top axis) and model names (right axis), respectively.
logical values indicating whether the axis and annotation should appear on the plot.
further graphical parameters to be set for the plot.
Kamil Bartoń
# For examples, see \sQuote{[MuMIn-package]}
Run the code above in your browser using DataLab