| indexplot {Rcmdr} | R Documentation |
Index plot with point identification.
indexplot(x, labels = seq_along(x), id.method = "y", type = "h",
id.n = 0, ylab, ...)
x |
numeric variable. |
labels |
point labels. |
id.method |
method for identifying points; see |
type |
to be passed to |
id.n |
number of points to identify; see |
ylab |
label for vertical axis; if missing, will be constructed from |
... |
to be passed to |
Returns labelled indices of identified points or (invisibly) NULL if no points
are identified.
John Fox jfox@mcmaster.ca
if (require("car")){
with(Prestige, indexplot(income, id.n=2, labels=rownames(Prestige)))
}