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.

add.scatter 13<br />

Usage<br />

add.scatter(func,posi=c("bottomleft","bottomright","topleft","topright"),ratio=.2,i<br />

add.scatter.eig(w,nf=NULL, xax, yax, posi = "bottomleft", ratio = .25, inset = .01,<br />

Arguments<br />

func<br />

posi<br />

ratio<br />

inset<br />

bg.col<br />

w<br />

nf<br />

xax<br />

yax<br />

sub<br />

csub<br />

an - evaluated - function producing a graphic<br />

a character vector (only its first element being considered) giving the position of<br />

the added graph. Possible values are "bottomleft" (="bottom"),"bottomright","topleft"<br />

(="top"),"topright", and "none" (no plot).<br />

the size of the added graph in proportion of the current plot region<br />

the inset from which the graph is drawn, in proportion of the whole plot region.<br />

Can be a vector of length 2, giving the inset in x and y. If atomic, same inset is<br />

used in x and y<br />

the color of the background of the added graph<br />

numeric vector of eigenvalues<br />

the number of retained factors, NULL if not provided<br />

first represented axis<br />

second represented axis<br />

title of the screeplot<br />

size of the screeplot title<br />

Details<br />

add.scatter uses par("plt") to redefine the new plot region. As stated in par documentation,<br />

this produces to (sometimes surprising) interactions with other parameters such as "mar".<br />

In particular, such interactions are likely to reset the plot region by default which would cause the<br />

additional graphic to take the whole plot region. To avoid such inconvenient, add par([other<br />

options], plt=par("plt")) when using par in your graphical function (argument func).<br />

Value<br />

<strong>The</strong> matched call (invisible).<br />

Author(s)<br />

Thibaut Jombart 〈jombart@biomserv.univ-lyon1.fr〉<br />

See Also<br />

scatter

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

Saved successfully!

Ooh no, something went wrong!