08.04.2015 Views

The ade4 Package - NexTag Supports Open Source Initiatives

The ade4 Package - NexTag Supports Open Source Initiatives

The ade4 Package - NexTag Supports Open Source Initiatives

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

12 add.scatter<br />

Usage<br />

data(acacia)<br />

Format<br />

acacia is a data frame with 15 variables :<br />

se.T1, se.T2, se.T3, se.T4, se.T5 are five numeric vectors containing quadrats counts of seedlings<br />

from transects 1 to 5 respectively;<br />

sm.T1, sm.T2, sm.T3, sm.T4, sm.T5 are five numeric vectors containing quadrats counts of small<br />

trees (crown < 1 m 2 in canopy) of transects 1 to 5 respectively;<br />

la.T1, la.T2, la.T3, la.T4, la.T5 are five numeric vectors containing quadrats counts of trees with<br />

large crown (crown > 1 m 2 in canopy) of transects 1 to 5 respectively.<br />

<strong>Source</strong><br />

Greig-Smith, P. and Chadwick, M.J. (1965) Data on pattern within plant communities. III. Acacia-<br />

Capparis semi-desert scrub in the Sudan. Journal of Ecology, 53, 465–474.<br />

References<br />

Hill, M.O. (1973) <strong>The</strong> intensity of spatial pattern in plant communities. Journal of Ecology, 61,<br />

225–235.<br />

Examples<br />

data(acacia)<br />

par(mfcol = c(5,3))<br />

par(mar = c(2,2,2,2))<br />

for(k in 1:15) {<br />

barplot(acacia[,k], ylim = c(0,20), col = grey(0.8))<br />

scatterutil.sub(names(acacia)[k], 1.5, "topleft")<br />

}<br />

par(mfcol = c(1,1))<br />

add.scatter<br />

Add graphics to an existing plot<br />

Description<br />

add.scatter is a function which defines a new plot area within an existing plot and displays<br />

an additional graphicinside this area. <strong>The</strong> additional graphic is determined by a function which is<br />

the first argument taken by add.scatter. It can be used in various ways, for instance to add a<br />

screeplot to an ordination scatterplot (add.scatter.eig).<br />

<strong>The</strong> function add.scatter.eig uses the following colors: black (represented axes), grey(axes<br />

retained in the analysis) and white (others).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!