addpoint: Adds points on graphics.

Description Usage Arguments Value Author(s) See Also Examples

Description

Adds a trellis object containing one or several points on one or several graphical objects.

Usage

1
addpoint(object, xcoord, ycoord, plot = TRUE, ...)

Arguments

object

an object of class ADEg or ADEgS

xcoord

an integer (or a vector) indicating where label is(are) plotted on the x-axis, passed to the panel.points function of the lattice package

ycoord

an integer (or a vector) indicating where label is(are) plotted on the y-axis, passed to the panel.points function of the lattice package

plot

a logical indicating if the graphics is displayed

...

Other arguments. Additional graphical parameters (see the ppoints list in adegpar and trellis.par.get). If object is an ADEgS, the argument which identify which ADEg is/are used for superposition.

Value

An object of class "ADEgS".

Author(s)

Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray

See Also

ADEg ADEgS panel.points

Examples

1
2
3
4
5
data(deug, package = "ade4")
deug$cent[1]
g1 <- s1d.density(deug$tab[, 1], plot = FALSE)
addpoint(g1, xcoord = deug$cent[1], ycoord = 0, ppoints = list(col = "black",
  pch = "*", cex = 3))

Example output

Registered S3 methods overwritten by 'adegraphics':
  method         from
  biplot.dudi    ade4
  kplot.foucart  ade4
  kplot.mcoa     ade4
  kplot.mfa      ade4
  kplot.pta      ade4
  kplot.sepan    ade4
  kplot.statis   ade4
  scatter.coa    ade4
  scatter.dudi   ade4
  scatter.nipals ade4
  scatter.pco    ade4
  score.acm      ade4
  score.mix      ade4
  score.pca      ade4
  screeplot.dudi ade4
Algebra 
     50 

adegraphics documentation built on Sept. 16, 2021, 5:07 p.m.