Description Usage Arguments Value Author(s) Examples
performs a scatter of points without labels by a kernel Density Estimation in One or Two Dimensions
1 2 3 4 5 |
dfxy |
a data frame with at least two coordinates |
xax |
the column number for the x-axis |
yax |
the column number for the y-axis |
pch |
if |
cpoint |
a character size for plotting the points, used with
|
neig |
a neighbouring graph |
cneig |
a size for the neighbouring graph lines used with
par("lwd")* |
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 par("cex")* 'cgrid' to indicate the mesh of the grid |
include.origin |
a logical value indicating whether the point "origin" should be belonged to the graph space |
origin |
the fixed point in the graph space, for example c(0,0) the origin axes |
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 sub-title position ("topleft", "topright", "bottomleft", "bottomright") |
pixmap |
an object |
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 2 3 4 5 6 7 8 9 10 11 | # To recognize groups of points
if(!adegraphicsLoaded()) {
data(casitas)
casitas.fuz <- fuzzygenet(casitas)
casitas.pop <- as.factor(rep(c("dome", "cast", "musc", "casi"), c(24, 11, 9, 30)))
casitas.pca <- dudi.pca(casitas.fuz, scannf = FALSE, scale = FALSE)
if(requireNamespace("MASS", quiet = TRUE)) {
s.kde2d(casitas.pca$li)
s.class(casitas.pca$li, casitas.pop, cell = 0, add.p = TRUE)
}
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.