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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

triangle.plot 295<br />

show.position<br />

a logical value indicating whether the sub-triangle containing the data should be<br />

put back in the total triangle<br />

scale<br />

a logical value for the graph representation : the total triangle (FALSE) or the<br />

sub-triangle (TRUE)<br />

min3 if not NULL, a vector with 3 numbers between 0 and 1<br />

max3<br />

Author(s)<br />

Daniel Chessel<br />

Examples<br />

if not NULL, a vector with 3 numbers between 0 and 1. Let notice that min3+max3<br />

must equal c(1,1,1)<br />

data(euro123)<br />

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

x = rbind.data.frame(euro123$in78, euro123$in86, euro123$in97)<br />

triangle.plot(x)<br />

triangle.class(x, as.factor(rep("G",36)), csta = 0.5, cell = 1)<br />

triangle.class(x, euro123$plan$an)<br />

triangle.class(x, euro123$plan$pays)<br />

triangle.class(x, euro123$plan$an, cell = 1, axesell = TRUE)<br />

triangle.class(x, euro123$plan$an, cell = 0, csta = 0,<br />

col = c("red", "green", "blue"), axesell = TRUE, clab = 2, cpoi = 2)<br />

triangle.class(x, euro123$plan$an, cell = 2, csta = 0.5,<br />

axesell = TRUE, clab = 1.5)<br />

triangle.class(x, euro123$plan$an, cell = 0, csta = 1, scale = FALSE,<br />

draw.line = FALSE, show.posi = FALSE)<br />

triangle.plot<br />

Triangular Plotting<br />

Description<br />

Usage<br />

Graphs for a dataframe with 3 columns of positive or null values<br />

triangle.plot is a scatterplot<br />

triangle.biplot is a paired scatterplots<br />

triangle.posipoint, triangle.param, add.position.triangle are utilitaries functions.<br />

triangle.plot(ta, label = as.character(1:nrow(ta)), clabel = 0,<br />

cpoint = 1, draw.line = TRUE, addaxes = FALSE, addmean = FALSE,<br />

labeltriangle = TRUE, sub = "", csub = 0, possub = "topright",<br />

show.position = TRUE, scale = TRUE, min3 = NULL, max3 = NULL,

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

Saved successfully!

Ooh no, something went wrong!