01.11.2014 Views

Prácticas de Estadística en R - Departamento de Estadística e ...

Prácticas de Estadística en R - Departamento de Estadística e ...

Prácticas de Estadística en R - Departamento de Estadística e ...

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.

8.7 Brushing 75<br />

Por ejemplo, hacemos<br />

> pairs.brushing(iris[1:4],color=iris.color,color.extra=1)<br />

2.0 3.0 4.0 0.5 1.5 2.5<br />

2.0 3.0 4.0<br />

0.5 1.5 2.5<br />

Sepal.L<strong>en</strong>gth<br />

Sepal.Width<br />

Petal.L<strong>en</strong>gth<br />

Petal.Width<br />

4.5 5.5 6.5 7.5<br />

1 2 3 4 5 6 7<br />

datos[, sub[2]]<br />

2.0 2.5 3.0 3.5 4.0<br />

1 2 3 4 5 6 7<br />

4.5 5.5 6.5 7.5<br />

1 2 3 4 5 6 7<br />

datos[, sub[1]]<br />

Figura 8.2: Dibujamos los datos<br />

Figura 8.3: Elegimos una gráfica<br />

2.0 3.0 4.0 0.5 1.5 2.5<br />

datos[, sub[2]]<br />

2.0 2.5 3.0 3.5 4.0<br />

16<br />

118<br />

86<br />

42<br />

1 2 3 4 5 6 7<br />

datos[, sub[1]]<br />

Figura 8.4: Seleccionamos puntos<br />

2.0 3.0 4.0<br />

0.5 1.5 2.5<br />

Sepal.L<strong>en</strong>gth<br />

4.5 5.5 6.5 7.5<br />

Sepal.Width<br />

Petal.L<strong>en</strong>gth<br />

1 2 3 4 5 6 7<br />

Petal.Width<br />

Figura 8.5: Los puntos elegidos<br />

aparec<strong>en</strong> marcados <strong>en</strong> negro<br />

4.5 5.5 6.5 7.5<br />

1 2 3 4 5 6 7<br />

Po<strong>de</strong>mos hacer lo mismo pero ahora, <strong>en</strong> lugar <strong>de</strong> seleccionar puntos sueltos, se trata<br />

<strong>de</strong> seleccionar un conjunto <strong>de</strong> puntos y localizar dichos puntos <strong>en</strong> todas las gráficas.<br />

pairs.boxbrush

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

Saved successfully!

Ooh no, something went wrong!