Description Usage Arguments Value Author(s) Examples
performs the scatter diagrams of the projection of a vector basis.
1 2 3 4 5 | s.arrow(dfxy, xax = 1, yax = 2, label = row.names(dfxy),
clabel = 1, pch = 20, cpoint = 0, boxes = TRUE, edge = TRUE, origin = c(0,0),
xlim = NULL, ylim = NULL, grid = TRUE, addaxes = TRUE, cgrid = 1,
sub = "", csub = 1.25, possub = "bottomleft", pixmap = NULL,
contour = NULL, area = NULL, add.plot = FALSE)
|
dfxy |
a data frame containing the two columns for the axes |
xax |
the column number of x in |
yax |
the column number of y in |
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")* |
pch |
if |
cpoint |
a character size for plotting the points, used with par("cex")* |
boxes |
if TRUE, labels are framed |
edge |
a logical value indicating whether the arrows should be plotted |
origin |
the fixed point in the graph space, by default c(0,0) the origin of axes. The arrows begin at |
xlim |
the ranges to be encompassed by the x-axis, if NULL they are computed |
ylim |
the ranges to be encompassed by the y-axis, if NULL they are computed |
grid |
a logical value indicating whether a grid in the background of the plot should be drawn |
addaxes |
a logical value indicating whether the axes should be plotted |
cgrid |
a character size, parameter used with |
sub |
a string of characters to be inserted as legend |
csub |
a character size for the legend, used with |
possub |
a string of characters indicating the legend position ("topleft", "topright", "bottomleft", "bottomright") |
pixmap |
an object 'pixmap' displayed in the map background |
contour |
a data frame with 4 columns to plot the contour of the map : each row gives a segment (x1,y1,x2,y2) |
area |
a data frame of class 'area' to plot a set of surface units in contour |
add.plot |
if TRUE uses the current graphics window |
The matched call.
Daniel Chessel
1 | s.arrow(cbind.data.frame(runif(55,-2,3), runif(55,-3,2)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.