Learn R Programming

SensoMineR (version 1.0)

senso.label: senso.label

Description

scatter is a generic function. It has methods for the classes coa, dudi, fca, acm and pco. The scale of the grid is situated on the right-top of the graph. The points are in the middle of the labels. This process plots the graphs of the multivariate analyses. The two axes have the same scale.

Usage

senso.label(dfxy, xax = 1, yax = 2, label = row.names(dfxy), clabel = 1, 
    pch = 20, cpoint = if (clabel == 0) 1 else 0, neig = NULL, 
    cneig = 2, xlim = NULL, ylim = NULL, grid = TRUE, addaxes = TRUE, 
    cgrid = 1, include.origin = TRUE, origin = c(0, 0), sub = "", 
    csub = 1.25, possub = "bottomleft", pixmap = NULL, contour = NULL, 
    area = NULL, add.plot = FALSE)

Arguments

dfxy
a data frame with two coordinates
xax
the column number for the x-axis
yax
the column number for the y-axis
label
a vector of strings of characters for the point labels
clabel
if not NULL, a character size for the labels, used with par("cex")*clabel
pch
cpoint
neig
cneig
xlim
ylim
grid
a logical value indicating whether a grid in the background of the plot should be drawn
addaxes
cgrid
include.origin
origin
sub
a string of characters to be inserted as legend
csub
a character size for the legend, used with par("cex")*csub
possub
a string of characters indicating the sub-title position ("topleft", "topright", "bottomleft", "bottomright")
cgrid
a character size, parameter used with par("cex")*cgrid to indicate the mesh of the grid
pixmap
contour
area
add.plot
if TRUE uses the current graphics window

Details

The only difference between this function and the one programed by Daniel Chessel is the frame displayed by the function box.