Skip to contents

Non-Overlapping Text Labels

Usage

viz_labels(x, ...)

# S4 method for MultivariateAnalysis
viz_labels(
  x,
  margin,
  ...,
  axes = c(1, 2),
  active = TRUE,
  sup = TRUE,
  highlight = NULL,
  top = 10,
  box = FALSE,
  segment = FALSE
)

Arguments

x

A CA, MCA or PCA object.

...

Further graphical parameters, particularly, character expansion, cex and color, col.

margin

A length-one numeric vector giving the subscript which the data will be returned: 1 indicates individuals/rows (the default), 2 indicates variables/columns.

axes

A length-two numeric vector giving the dimensions to be plotted.

active

A logical scalar: should the active observations be plotted?

sup

A logical scalar: should the supplementary observations be plotted?

highlight

A vector specifying the information to be highlighted. If NULL (the default), no highlighting is applied. If a single character string is passed, it must be the name of a categorical variable, or one of "observation", "mass", "sum", "contribution" or "cos2" (see augment()).

top

An integer specifying the number of labels to draw. Only the labels of the top \(n\) observations will be drawn. If NULL, all labels are drawn.

box

A logical scalar: should a box be drawn underneath labels?

segment

A logical scalar: should segments be drawn?

Author

N. Frerebeau