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.

240 s.image<br />

Value<br />

sub<br />

csub<br />

possub<br />

neig<br />

cneig<br />

image.plot<br />

a string of characters to be inserted as legend<br />

a character size for the legend, used with par("cex")*csub<br />

a string of characters indicating the sub-title position ("topleft", "topright", "bottomleft",<br />

"bottomright")<br />

an object of class neig<br />

a size for the neighbouring graph lines used with par("lwd")*cneig<br />

if TRUE, the image is traced<br />

contour.plot if TRUE, the contour lines are plotted<br />

pixmap<br />

contour<br />

area<br />

add.plot<br />

<strong>The</strong> matched call.<br />

Author(s)<br />

Daniel Chessel<br />

Examples<br />

an object ’pixmap’ displayed in the map background<br />

a data frame with 4 columns to plot the contour of the map : each row gives a<br />

segment (x1,y1,x2,y2)<br />

a data frame of class ’area’ to plot a set of surface units in contour<br />

if TRUE uses the current graphics window<br />

if (require(splancs, quiet = TRUE)){<br />

wxy=data.frame(expand.grid(-3:3,-3:3))<br />

names(wxy)=c("x","y")<br />

z=(1/sqrt(2))*exp(-(wxy$x^2+wxy$y^2)/2)<br />

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

s.value(wxy,z)<br />

s.image(wxy,z)<br />

s.image(wxy,z,kgrid=5)<br />

s.image(wxy,z,kgrid=15)<br />

}<br />

## Not run:<br />

data(t3012)<br />

if (require(splancs, quiet = TRUE)){<br />

par(mfrow = c(4,4))<br />

for(k in 1:12) s.image(t3012$xy,scalewt(t3012$temp[,k]), kgrid = 3)<br />

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

}<br />

data(elec88)<br />

if (require(splancs, quiet = TRUE)){<br />

par(mfrow = c(4,4))<br />

for(k in 1:12)

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

Saved successfully!

Ooh no, something went wrong!