indexplot: Index Plots

Description Usage Arguments Value Author(s) See Also Examples

View source: R/utilities.R

Description

Index plot with point identification.

Usage

1
2
indexplot(x, labels = seq_along(x), id.method = "y", type = "h", 
    id.n = 0, ylab, ...) 

Arguments

x

numeric variable.

labels

point labels.

id.method

method for identifying points; see showLabels.

type

to be passed to plot.

id.n

number of points to identify; see showLabels.

ylab

label for vertical axis; if missing, will be constructed from x.

...

to be passed to plot.

Value

Returns labelled indices of identified points or (invisibly) NULL if no points are identified.

Author(s)

John Fox jfox@mcmaster.ca

See Also

showLabels, plot.default

Examples

1
2
data(Prestige, package="car")
with(Prestige, indexplot(income, id.n=2, labels=rownames(Prestige)))

Rcmdr2 documentation built on May 2, 2019, 6:49 p.m.