scatter.enfa  R Documentation 
Performs the scatter diagrams of objects of class enfa
.
## S3 method for class 'enfa' scatter(x, xax = 1, yax = 2, pts = FALSE, nc = TRUE, percent = 95, clabel = 1, side = c("top", "bottom", "none"), Adensity, Udensity, Aangle, Uangle, Aborder, Uborder, Acol, Ucol, Alty, Ulty, Abg, Ubg, Ainch, Uinch, ...)
x 
an object of class 
xax 
the column number for the xaxis 
yax 
the column number for the yaxis 
pts 
logical. Whether the points should be drawn. If

nc 
whether or not the niche center should be displayed 
percent 
100 minus the proportion of outliers to be excluded from the computation of the minimum convex polygons 
clabel 
a character size for the columns 
side 
if 
Adensity 
the density of shading lines, in lines per inch, for the
available pixels polygon. See 
Udensity 
the density of shading lines, in lines per inch, for the
used pixels polygon. See 
Aangle 
the slope of shading lines, given as an angle in degrees (counterclockwise), for the available pixels polygon 
Uangle 
the slope of shading lines, given as an angle in degrees (counterclockwise), for the used pixels polygon 
Aborder 
the color for drawing the border of the available pixels
polygon. See 
Uborder 
the color for drawing the border of the used pixels polygon.
See 
Acol 
the color for filling the available pixels polygon.
if 
Ucol 
the color for filling the used pixels polygon.
if 
Alty 
the line type for the available pixels polygon, as in 
Ulty 
the line type for the used pixels polygon, as in 
Abg 
if 
Ubg 
if 
Ainch 
if 
Uinch 
if 
... 
further arguments passed to or from other methods 
scatter.enfa
displays a factorial map of pixels, as well as the
projection of the vectors of the canonical basis multiplied by a
constant of rescaling.
The kept axes for the plot are specified in a corner.
Mathieu Basille basille@aseresearch.org
Basille, M., Calenge, C., Marboutin, E., Andersen, R. & Gaillard, J.M. (2008) Assessing habitat selection using multivariate statistics: Some refinements of the ecologicalniche factor analysis. Ecological Modelling, 211, 233–240.
enfa
, scatter
data(lynxjura) map < lynxjura$map ## We keep only "wild" indices. locs < lynxjura$locs locs < locs[slot(locs, "data")[,2]!="D",] hist(map, type = "l") ## The variable artif is far from symetric ## We perform a square root transformation ## of this variable ## We therefore normalize the variable 'artif' slot(map,"data")[,4] < sqrt(slot(map,"data")[,4]) hist(map, type = "l") ## We prepare the data for the ENFA tab < slot(map, "data") pr < slot(count.points(locs, map), "data")[,1] ## We then perform the PCA before the ENFA pc < dudi.pca(tab, scannf = FALSE) ## We perform the ENFA (enfa1 < enfa(pc, pr, scannf = FALSE)) scatter(enfa1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.