Hola Colegas: Me reintegro al estudio de R y quisiera me pudieran resolver el problema que planteo en el archivo adjunto. Gracias anticipadas. *MANOLO MÁRQUEZ P.* ------------ próxima parte ------------ Se ha borrado un adjunto en formato HTML... URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20130511/b0c9f15d/attachment.html> ------------ próxima parte ------------ An embedded and charset-unspecified text was scrubbed... Name: tabl.txt URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20130511/b0c9f15d/attachment.txt>
Estimado Manuel Como dice en su asunto, duda básica, con el mayor de los respetos, creo que sería recomendable que lea desde otra fuente sobre R, quizás otra redacción le ayude con R con una estadística que comprenda, porque R en su principio son rutinas estadísticas en C, ForTran, etc. Si es que comprendí su pregunta. Javier From: Manuel Máquez Sent: Sunday, May 12, 2013 12:05 AM To: R-help-es@r-project.org Subject: [R-es] Duda básica Hola Colegas: Me reintegro al estudio de R y quisiera me pudieran resolver el problema que planteo en el archivo adjunto. Gracias anticipadas. MANOLO MÁRQUEZ P. -------------------------------------------------------------------------------- _______________________________________________ R-help-es mailing list R-help-es@r-project.org https://stat.ethz.ch/mailman/listinfo/r-help-es [[alternative HTML version deleted]]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Estimada comunidad tengo el siguiente inconveniente: Estoy haciendo graficos para explorar la distribucion de unos datos en el tiempo. Son 5 variables dependientes (como maximo, podrian ser menos) y 7 dias de datos. En el grafico aparecen todos los datos mezclados y no se a priori cual es cual. Para identificar cual simbolo es que variable, seria util una leyenda, pero, al menos para mi, no es obvio a partir de la ayuda del comando "legend" y de ejemplos que he visto, como decirle a R que extraiga esa informacion a partir del archivo de datos, ya que yo la desconozco. Me explico ? Usando el archivo adjunto, grafico usando el siguiente comando: 1> xyplot(area~dia|factor(sol),groups=NCar,data=graph, xlab="Time (days)", ylab="area cis",keys="auto.key",pch="*") Alguna sugerencia ? Slds, eric. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRkR/lAAoJEDoUMoeY1RuMrM4IAJNWC8FU+vLp1pfgp5UNfP6g PuQGsCFPgPYwdaU2OePxgmkgJDE34TbGNnd6vLYJ3M6JiHxJWFCyLNGbcgcGYcRa EAnRUjSb7Altiw5+K7JXb0DXkarblL3LOGphzoeVYUo/MPNk6oBYuyr+tQ9o0NXl fr10XPyzHML66DMXRdGxm5tACUtFH4QW1tAwLLJOudHhpX7gZfnQRCYMFRj8GG9w RhMGsw138yOOp1tX+vnFoD2I6krgpDVkDSeiuyYPM2gsxZ1S86trm4ISU4SBDveZ smV70wjZuJtwD7BMUt8k3wJuJ1BtNaK2KJuKZjtmDIs+vCOdCFkKlfQNrUh7kus=cs6q -----END PGP SIGNATURE----- ------------ próxima parte ------------ les fab dia Nfuc Numb lett area V8 2 fab 0.001 1 161c 1 c 1.391274e-03 16 3 fab 0.001 1 161c 1 c 2.812804e-03 16 5 fab 0.001 1 181c 1 c 3.318722e-03 18 6 fab 0.001 1 181c 1 c 2.146073e-03 18 16 fab 0.001 4 161c 1 c 7.521186e-04 16 17 fab 0.001 4 161c 1 c 2.730876e-03 16 19 fab 0.001 4 181c 1 c 2.360955e-03 18 22 fab 0.001 1 181c 1 c 3.724067e-03 18 26 fab 0.001 4 161c 1 c 7.898608e-04 16 27 fab 0.001 4 161c 1 c 2.529248e-03 16 29 fab 0.001 4 181c 1 c 2.268500e-03 18 33 fab 0.001 1 181c 1 c 5.182281e-03 18 47 bis 0.051 2 181c 1 c 5.154294e-03 18 55 bis 0.051 5 161c 1 c 1.282199e-03 16 56 bis 0.051 5 161c 1 c 2.775507e-03 16 58 bis 0.051 5 181c 1 c 3.005726e-03 18 66 bis 0.051 5 181c 1 c 4.962065e-03 18 75 bis 0.282 5 161c 1 c 2.716336e-03 16 77 bis 0.282 5 181c 1 c 3.139512e-03 18 87 bis 0.282 5 161c 1 c 1.054341e-03 16 88 bis 0.282 5 161c 1 c 6.734418e-04 16 89 bis 0.282 5 161c 1 c 2.789253e-03 16 90 bis 0.282 5 161c 1 c 7.902576e-04 16 92 bis 0.282 5 181c 1 c 4.573381e-03 18 98 bis 0.282 4 181c 1 c 3.307258e-03 18 102 bis 0.282 5 181c 1 c 2.331553e-02 18 110 bis 0.513 4 181c 1 c 2.777253e-03 18 117 bis 0.513 5 161c 1 c 1.620682e-03 16 118 bis 0.513 5 161c 1 c 3.510547e-04 16 119 bis 0.513 5 161c 1 c 2.798604e-03 16 120 bis 0.513 5 161c 1 c 7.860623e-04 16 123 bis 0.513 5 181c 1 c 4.610498e-03 18 124 bis 0.513 5 181c 1 c 2.310609e-03 18 125 bis 0.513 5 181c 1 c 4.939860e-04 18 134 bis 0.513 5 161c 1 c 1.736095e-03 16 135 bis 0.513 5 161c 1 c 2.726338e-03 16 137 bis 0.513 5 181c 1 c 4.240800e-03 18 138 bis 0.513 5 181c 1 c 3.059568e-03 18 141 bis 0.513 2 161c 1 c 2.641114e-03 16 146 bis 0.513 5 161c 1 c 1.848143e-03 16 147 bis 0.513 5 161c 1 c 2.673884e-03 16 149 bis 0.513 5 181c 1 c 5.234312e-03 18 150 bis 0.513 5 181c 1 c 2.857037e-03 18 152 bis 2.822 2 161c 1 c 2.641114e-03 16 159 bis 2.822 5 161c 1 c 1.534929e-03 16 160 bis 2.822 5 161c 1 c 7.016059e-04 16 161 bis 2.822 5 161c 1 c 2.622052e-03 16 163 bis 2.822 5 181c 1 c 5.685019e-03 18 164 bis 2.822 5 181c 1 c 2.755226e-03 18 175 bis 2.822 5 161c 1 c 9.408511e-04 16 176 bis 2.822 5 161c 1 c 2.728687e-03 16 178 bis 2.822 5 181c 1 c 7.097820e-03 18 180 bis 2.822 2 161c 1 c 1.737567e-03 16 181 bis 2.822 2 161c 1 c 2.813109e-03 16 183 bis 2.822 2 181c 1 c 1.824369e-03 18 184 bis 2.822 2 181c 1 c 2.224496e-03 18 189 bis 2.822 5 161c 1 c 1.639828e-03 16 190 bis 2.822 5 161c 1 c 2.849088e-03 16 193 bis 2.822 5 181c 1 c 3.813287e-03 18 194 bis 2.822 5 181c 1 c 3.259497e-03 18 200 bis 5.130 4 161c 1 c 2.471558e-03 16 202 bis 5.130 4 181c 1 c 3.819412e-03 18 205 bis 5.130 5 161c 1 c 1.985950e-03 16 206 bis 5.130 5 161c 1 c 8.286205e-04 16 207 bis 5.130 5 161c 1 c 2.709639e-03 16 208 bis 5.130 5 161c 1 c 8.201586e-04 16 210 bis 5.130 5 181c 1 c 6.422052e-03 18 211 bis 5.130 5 181c 1 c 3.102382e-03 18 212 bis 5.130 5 181c 1 c 1.507380e-04 18 220 bis 5.130 4 161c 1 c 1.260478e-03 16 221 bis 5.130 4 161c 1 c 6.143446e-04 16 222 bis 5.130 4 161c 1 c 2.591423e-03 16 224 bis 5.130 4 181c 1 c 2.773720e-03 18 225 bis 5.130 4 181c 1 c 1.442820e-03 18 227 bis 5.130 5 161c 1 c 1.701562e-03 16 228 bis 5.130 5 161c 1 c 2.589128e-03 16 230 bis 5.130 5 181c 1 c 3.086427e-03 18 231 bis 5.130 5 181c 1 c 3.145263e-03 18 240 bis 5.130 5 161c 1 c 9.460752e-04 16 241 bis 5.130 5 161c 1 c 2.595746e-03 16 242 bis 5.130 5 161c 1 c 7.953870e-04 16 246 bis 5.130 5 181c 1 c 6.234062e-03 18 247 bis 5.130 5 181c 1 c 2.463566e-03 18 248 bis 5.130 5 181c 1 c 3.688476e-03 18 249 bis 5.130 5 181c 1 c 2.022054e-03 18 261 gis 0.004 4 181c 1 c 7.278304e-03 18 264 gis 0.004 5 161c 1 c 2.404880e-03 16 265 gis 0.004 5 161c 1 c 2.860180e-03 16 267 gis 0.004 5 181c 1 c 1.484858e-02 18 268 gis 0.004 5 181c 1 c 2.771375e-03 18 273 gis 0.004 3 181c 1 c 6.157741e-03 18 275 gis 0.004 4 161c 1 c 2.463091e-03 16 276 gis 0.004 4 161c 1 c 6.069387e-05 16 279 gis 0.004 4 181c 1 c 4.327846e-03 18 285 gis 0.004 5 161c 1 c 1.718566e-03 16 286 gis 0.004 5 161c 1 c 1.564584e-03 16 287 gis 0.004 5 161c 1 c 2.680579e-03 16 290 gis 0.004 5 181c 1 c 1.178931e-02 18 291 gis 0.004 5 181c 1 c 2.952495e-03 18 292 gis 0.004 5 181c 1 c 2.132268e-03 18 296 gis 0.004 4 161c 1 c 2.541373e-03 16 297 gis 0.004 4 161c 1 c 4.950285e-05 16 299 gis 0.004 4 181c 1 c 1.144442e-02 18 305 gis 0.004 5 161c 1 c 1.135795e-03 16 306 gis 0.004 5 161c 1 c 2.826804e-03 16 307 gis 0.004 5 161c 1 c 7.004423e-04 16 309 gis 0.004 5 181c 1 c 1.683360e-02 18 310 gis 0.004 5 181c 1 c 3.084807e-03 18 314 gis 0.008 3 161c 1 c 2.536111e-03 16 325 gis 0.008 4 161c 1 c 2.574965e-03 16 327 gis 0.008 4 181c 1 c 1.023653e-02 18 332 gis 0.008 5 161c 1 c 1.568533e-03 16 333 gis 0.008 5 161c 1 c 3.871662e-04 16 334 gis 0.008 5 161c 1 c 2.655486e-03 16 336 gis 0.008 5 181c 1 c 1.416441e-02 18 337 gis 0.008 5 181c 1 c 3.045163e-03 18 338 gis 0.008 5 181c 1 c 2.898855e-04 18 345 gis 0.008 4 161c 1 c 2.462194e-03 16 347 gis 0.008 4 181c 1 c 1.101745e-02 18 350 gis 0.008 5 161c 1 c 1.332503e-03 16 351 gis 0.008 5 161c 1 c 5.262910e-04 16 352 gis 0.008 5 161c 1 c 2.824765e-03 16 354 gis 0.008 5 181c 1 c 2.107816e-02 18 355 gis 0.008 5 181c 1 c 2.465612e-03 18 358 gis 0.008 4 161c 1 c 4.786647e-05 16 365 gis 0.008 4 181c 1 c 1.063186e-02 18 366 gis 0.008 4 181c 1 c 5.161791e-05 18 376 gis 0.008 5 161c 1 c 7.233124e-04 16 377 gis 0.008 5 161c 1 c 2.922579e-03 16 378 gis 0.008 5 161c 1 c 9.861982e-04 16 381 gis 0.008 5 181c 1 c 2.223784e-02 18 382 gis 0.008 5 181c 1 c 2.954193e-03 18 383 gis 0.008 5 181c 1 c 2.319806e-04 18 388 gis 0.016 3 161c 1 c 4.021163e-03 16 389 gis 0.016 3 161c 1 c 2.224814e-03 16 390 gis 0.016 3 161c 1 c 1.974948e-03 16 391 gis 0.016 3 161c 1 c 1.671022e-03 16 392 gis 0.016 3 161c 1 c 1.016758e-03 16 393 gis 0.016 3 161c 1 c 3.952407e-03 16 394 gis 0.016 3 161c 1 c 4.362008e-03 16 395 gis 0.016 3 161c 1 c 1.006882e-03 16 396 gis 0.016 3 161c 1 c 1.238568e-03 16 397 gis 0.016 3 161c 1 c 2.174990e-03 16 418 gis 0.016 4 161c 1 c 1.218087e-02 16 419 gis 0.016 4 161c 1 c 7.308343e-05 16 424 gis 0.016 4 181c 1 c 1.363328e-02 18 425 gis 0.016 4 181c 1 c 7.014847e-05 18 436 gis 0.016 5 161c 1 c 1.348645e-03 16 437 gis 0.016 5 161c 1 c 3.092829e-03 16 439 gis 0.016 5 181c 1 c 1.457669e-02 18 443 gis 0.016 3 181c 1 c 9.165367e-03 18 452 gis 0.016 4 161c 1 c 5.912947e-03 16 453 gis 0.016 4 161c 1 c 7.007303e-05 16 454 gis 0.016 4 161c 1 c 2.817467e-03 16 455 gis 0.016 4 161c 1 c 5.860317e-05 16 458 gis 0.016 4 181c 1 c 1.769132e-02 18 467 gis 0.016 5 161c 1 c 1.517537e-03 16 468 gis 0.016 5 161c 1 c 2.802033e-03 16 471 gis 0.016 5 181c 1 c 1.569705e-02 18 472 gis 0.016 5 181c 1 c 3.163159e-03 18 473 gis 0.016 5 181c 1 c 2.259136e-03 18 476 gis 0.016 4 161c 1 c 2.537908e-03 16 478 gis 0.016 4 181c 1 c 3.993985e-03 18 482 gis 0.016 5 161c 1 c 1.540467e-03 16 483 gis 0.016 5 161c 1 c 2.712138e-03 16 484 gis 0.016 5 161c 1 c 9.347134e-04 16 485 gis 0.016 5 161c 1 c 1.519894e-04 16 487 gis 0.016 5 181c 1 c 1.307842e-02 18 488 gis 0.016 5 181c 1 c 3.375794e-03 18 489 gis 0.016 5 181c 1 c 2.307492e-03 18 495 gis 0.157 3 181c 1 c 1.858141e-02 18 498 gis 0.157 4 181c 1 c 1.871641e-02 18 503 gis 0.157 5 161c 1 c 1.757718e-03 16 504 gis 0.157 5 161c 1 c 2.506561e-03 16 505 gis 0.157 5 161c 1 c 2.793729e-03 16 506 gis 0.157 5 161c 1 c 9.471545e-04 16 508 gis 0.157 5 181c 1 c 9.619768e-03 18 509 gis 0.157 5 181c 1 c 3.504085e-03 18 510 gis 0.157 5 181c 1 c 2.271690e-03 18 517 gis 0.157 3 161c 1 c 9.748381e-05 16 519 gis 0.157 3 181c 1 c 1.478954e-02 18 524 gis 0.157 4 161c 1 c 8.790081e-04 16 525 gis 0.157 4 161c 1 c 2.545967e-03 16 527 gis 0.157 4 181c 1 c 1.491636e-02 18 528 gis 0.157 4 181c 1 c 2.654489e-03 18 532 gis 0.157 5 161c 1 c 1.368038e-03 16 533 gis 0.157 5 161c 1 c 2.188733e-03 16 534 gis 0.157 5 161c 1 c 2.641159e-03 16 535 gis 0.157 5 161c 1 c 9.714823e-04 16 539 gis 0.157 5 181c 1 c 1.101756e-02 18 540 gis 0.157 5 181c 1 c 5.581415e-03 18 541 gis 0.157 5 181c 1 c 3.948254e-03 18 542 gis 0.157 5 181c 1 c 2.100632e-03 18 549 gis 0.157 4 161c 1 c 2.770292e-03 16 551 gis 0.157 4 181c 1 c 1.629157e-02 18 556 gis 0.157 5 161c 1 c 8.181449e-04 16 557 gis 0.157 5 161c 1 c 2.837996e-03 16 558 gis 0.157 5 161c 1 c 8.479352e-04 16 560 gis 0.157 5 181c 1 c 2.007424e-02 18 561 gis 0.157 5 181c 1 c 3.635523e-03 18 562 gis 0.157 5 181c 1 c 2.130783e-03 18 567 gis 1.573 3 161c 1 c 9.641261e-04 16 568 gis 1.573 3 161c 1 c 6.289155e-03 16 570 gis 1.573 3 181c 1 c 1.699857e-02 18 571 gis 1.573 3 181c 1 c 2.883833e-03 18 574 gis 1.573 4 181c 1 c 9.463390e-03 18 577 gis 1.573 5 161c 1 c 1.293295e-03 16 578 gis 1.573 5 161c 1 c 2.753049e-03 16 579 gis 1.573 5 161c 1 c 9.703128e-04 16 581 gis 1.573 5 181c 1 c 6.543608e-03 18 582 gis 1.573 5 181c 1 c 3.318392e-03 18 583 gis 1.573 5 181c 1 c 2.374528e-03 18 586 gis 1.573 3 181c 1 c 1.219947e-02 18 588 gis 1.573 4 161c 1 c 1.191752e-03 16 589 gis 1.573 4 161c 1 c 6.348182e-03 16 591 gis 1.573 4 181c 1 c 8.161305e-03 18 592 gis 1.573 4 181c 1 c 3.902301e-03 18 597 gis 1.573 5 161c 1 c 4.112172e-03 16 598 gis 1.573 5 161c 1 c 1.792466e-03 16 599 gis 1.573 5 161c 1 c 3.345401e-03 16 600 gis 1.573 5 161c 1 c 6.288456e-03 16 601 gis 1.573 5 161c 1 c 6.834426e-04 16 605 gis 1.573 5 181c 1 c 9.594414e-03 18 606 gis 1.573 5 181c 1 c 4.610588e-03 18 607 gis 1.573 5 181c 1 c 5.295572e-03 18 608 gis 1.573 5 181c 1 c 1.996651e-03 18 613 gis 1.573 4 161c 1 c 9.283267e-04 16 614 gis 1.573 4 161c 1 c 1.239676e-03 16 615 gis 1.573 4 161c 1 c 7.431107e-03 16 617 gis 1.573 4 181c 1 c 1.177384e-02 18 618 gis 1.573 4 181c 1 c 3.532656e-03 18 621 can 0.003 2 161c 1 c 3.896926e-03 16 622 can 0.003 2 161c 1 c 1.633682e-02 16 625 can 0.003 2 181c 1 c 8.895136e-02 18 634 can 0.003 3 181c 1 c 2.610209e-02 18 636 can 0.003 4 161c 1 c 1.739469e-03 16 637 can 0.003 4 161c 1 c 2.716681e-03 16 639 can 0.003 4 181c 1 c 2.581558e-02 18 640 can 0.003 4 181c 1 c 2.541517e-03 18 644 can 0.003 5 181c 1 c 2.956899e-02 18 650 can 0.003 3 181c 1 c 2.958526e-02 18 653 can 0.003 4 161c 1 c 3.595930e-03 16 654 can 0.003 4 161c 1 c 2.622968e-03 16 656 can 0.003 4 181c 1 c 2.270529e-02 18 660 can 0.003 5 161c 1 c 1.667623e-03 16 661 can 0.003 5 161c 1 c 9.395172e-04 16 662 can 0.003 5 161c 1 c 2.768751e-03 16 664 can 0.003 5 181c 1 c 5.279028e-03 18 665 can 0.003 5 181c 1 c 2.864906e-03 18 670 can 0.003 4 161c 1 c 2.401415e-03 16 672 can 0.003 4 181c 1 c 2.522224e-02 18 676 can 0.003 5 181c 1 c 2.683406e-02 18 683 can 0.006 3 181c 1 c 2.785894e-02 18 685 can 0.006 4 161c 1 c 2.514609e-03 16 687 can 0.006 4 181c 1 c 1.959366e-02 18 688 can 0.006 4 181c 1 c 2.650848e-03 18 691 can 0.006 5 181c 1 c 2.083388e-02 18 697 can 0.006 3 181c 1 c 2.978406e-02 18 703 can 0.006 4 181c 1 c 2.509756e-02 18 704 can 0.006 4 181c 1 c 2.089728e-03 18 714 can 0.006 5 161c 1 c 2.723824e-03 16 716 can 0.006 5 181c 1 c 3.530247e-02 18 723 can 0.006 4 181c 1 c 3.028641e-02 18 735 can 0.006 5 161c 1 c 2.723824e-03 16 737 can 0.006 5 181c 1 c 3.530247e-02 18 742 can 0.012 3 181c 1 c 2.597852e-02 18 744 can 0.012 4 161c 1 c 2.610615e-03 16 746 can 0.012 4 181c 1 c 1.290872e-02 18 749 can 0.012 5 161c 1 c 9.283109e-04 16 750 can 0.012 5 161c 1 c 2.817632e-03 16 752 can 0.012 5 181c 1 c 2.305959e-02 18 756 can 0.012 3 161c 1 c 2.478933e-03 16 758 can 0.012 3 181c 1 c 1.613837e-02 18 761 can 0.012 4 181c 1 c 2.609995e-02 18 763 can 0.012 5 161c 1 c 1.593061e-03 16 764 can 0.012 5 161c 1 c 1.153243e-03 16 765 can 0.012 5 161c 1 c 2.849571e-03 16 767 can 0.012 5 181c 1 c 2.042230e-02 18 768 can 0.012 5 181c 1 c 1.170719e-04 18 769 can 0.012 5 181c 1 c 3.268412e-03 18 772 can 0.012 2 161c 1 c 1.136411e-03 16 775 can 0.012 4 161c 1 c 2.840055e-03 16 777 can 0.012 4 181c 1 c 1.742201e-02 18 781 can 0.012 5 181c 1 c 2.100381e-02 18 787 can 0.123 3 181c 1 c 1.700200e-02 18 789 can 0.123 4 161c 1 c 7.408400e-03 16 791 can 0.123 4 181c 1 c 3.235378e-02 18 795 can 0.123 5 181c 1 c 2.565720e-02 18 800 can 0.123 3 161c 1 c 1.090667e-04 16 801 can 0.123 3 161c 1 c 7.096447e-05 16 805 can 0.123 3 181c 1 c 2.243624e-02 18 809 can 0.123 4 181c 1 c 2.594879e-02 18 812 can 0.123 5 181c 1 c 2.523962e-02 18 817 can 0.123 4 181c 1 c 2.587357e-02 18 820 can 0.123 5 181c 1 c 2.161037e-02 18 825 can 1.233 2 161c 1 c 3.282255e-02 16 826 can 1.233 2 161c 1 c 3.026403e-02 16 827 can 1.233 2 161c 1 c 1.949662e-02 16 842 can 1.233 2 181c 1 c 2.804809e-02 18 843 can 1.233 2 181c 1 c 1.238893e-02 18 844 can 1.233 2 181c 1 c 9.745405e-03 18 845 can 1.233 2 181c 1 c 9.704133e-03 18 846 can 1.233 2 181c 1 c 1.717407e-02 18 847 can 1.233 2 181c 1 c 1.559586e-02 18 857 can 1.233 3 181c 1 c 1.750285e-02 18 860 can 1.233 4 181c 1 c 2.637162e-02 18 863 can 1.233 5 161c 1 c 2.769222e-03 16 865 can 1.233 5 181c 1 c 1.602913e-02 18 870 can 1.233 3 181c 1 c 2.560341e-02 18 875 can 1.233 4 181c 1 c 2.197955e-02 18 879 can 1.233 5 181c 1 c 1.821647e-02 18 889 can 1.233 4 181c 1 c 2.592888e-02 18 892 can 1.233 5 181c 1 c 1.313611e-02 18 924 fab 5.000 2 161c 1 c 2.820669e-03 16 925 fab 4.000 3 161c 1 c 2.184303e-03 16 926 fab 2.000 5 161c 1 c 1.369697e-03 16 927 fab 2.000 6 161c 1 c 1.520713e-03 16 928 fab 1.000 7 161c 1 c 1.186381e-04 16 929 fab 3.000 2 161c 1 c 1.769334e-03 16 930 fab 1.000 3 161c 1 c 4.336643e-04 16 931 fab 4.000 5 161c 1 c 1.811823e-03 16 932 fab 4.000 6 161c 1 c 2.171057e-03 16 933 fab 1.000 7 161c 1 c 3.301939e-04 16 934 fab 5.000 2 161c 1 c 3.046989e-03 16 935 fab 3.000 3 161c 1 c 1.725096e-03 16 936 fab 4.000 5 161c 1 c 1.829792e-03 16 937 fab 2.000 6 161c 1 c 8.235203e-04 16 938 fab 2.000 7 161c 1 c 8.469545e-04 16 939 fab 5.000 2 161c 1 c 2.241810e-03 16 940 fab 3.000 3 161c 1 c 1.678014e-03 16 941 fab 5.000 5 161c 1 c 2.209410e-03 16 942 fab 1.000 6 161c 1 c 4.505210e-04 16 943 fab 3.000 7 161c 1 c 1.791802e-03 16 986 fab 4.000 3 181c 1 c 3.890904e-03 18 987 fab 5.000 4 181c 1 c 4.204138e-03 18 988 fab 2.000 6 181c 1 c 1.076027e-03 18 989 fab 3.000 3 181c 1 c 2.073483e-03 18 990 fab 4.000 4 181c 1 c 3.393013e-03 18 991 fab 2.000 6 181c 1 c 1.209712e-03 18 992 fab 5.000 3 181c 1 c 4.233657e-03 18 993 fab 5.000 4 181c 1 c 4.033527e-03 18 994 fab 1.000 6 181c 1 c 6.811327e-04 18 995 fab 2.000 2 181c 1 c 1.176175e-03 18 996 fab 4.000 7 181c 1 c 2.830896e-03 18 997 fab 2.000 2 181c 1 c 1.068783e-03 18 998 fab 3.000 7 181c 1 c 1.230081e-03 18 999 fab 5.000 2 181c 1 c 4.123981e-03 18 1000 fab 1.000 7 181c 1 c -2.978641e-05 18 1001 fab 4.000 2 181c 1 c 3.879060e-03 18 1002 fab 3.000 7 181c 1 c 1.883817e-03 18 1003 fab 1.000 2 181c 1 c 7.356349e-04 18 1004 fab 1.000 7 181c 1 c -1.650338e-04 18 1041 bis 5.130 1 161c 1 c 3.453004e-03 16 1042 bis 0.051 3 161c 1 c 1.544058e-03 16 1043 bis 0.051 6 161c 1 c 8.255598e-04 16 1044 bis 2.822 7 161c 1 c 2.846118e-03 16 1045 bis 5.130 1 161c 1 c 3.392933e-03 16 1046 bis 0.513 3 161c 1 c 2.337893e-03 16 1047 bis 0.051 6 161c 1 c 1.084072e-04 16 1048 bis 2.822 7 161c 1 c 2.733454e-03 16 1049 bis 5.130 1 161c 1 c 3.794131e-03 16 1050 bis 2.822 3 161c 1 c 2.781483e-03 16 1051 bis 5.130 6 161c 1 c 3.011882e-03 16 1052 bis 0.051 7 161c 1 c 8.049596e-04 16 1053 bis 2.822 1 161c 1 c 2.923316e-03 16 1054 bis 0.513 3 161c 1 c 2.515428e-03 16 1055 bis 0.051 6 161c 1 c 1.056481e-03 16 1056 bis 0.282 7 161c 1 c 1.581678e-03 16 1057 bis 0.513 1 161c 1 c 2.430072e-03 16 1058 bis 0.051 3 161c 1 c -8.120360e-05 16 1059 bis 0.513 6 161c 1 c 2.377300e-03 16 1060 bis 2.822 7 161c 1 c 2.858009e-03 16 1061 bis 2.822 1 161c 1 c 2.676311e-03 16 1062 bis 0.051 3 161c 1 c 1.180386e-03 16 1063 bis 0.282 6 161c 1 c 1.551326e-03 16 1064 bis 0.513 7 161c 1 c 2.522070e-03 16 1065 bis 0.282 1 161c 1 c 2.154557e-03 16 1066 bis 0.282 3 161c 1 c 1.656465e-03 16 1067 bis 0.513 6 161c 1 c 2.475325e-03 16 1068 bis 5.130 7 161c 1 c 3.722630e-03 16 1069 bis 5.130 1 161c 1 c 4.594311e-03 16 1070 bis 0.282 3 161c 1 c 1.661009e-03 16 1071 bis 0.282 6 161c 1 c 1.802211e-03 16 1072 bis 5.130 7 161c 1 c 3.714947e-03 16 1130 bis 0.513 1 181c 1 c 4.555905e-03 18 1131 bis 0.051 3 181c 1 c 3.418795e-03 18 1132 bis 0.513 6 181c 1 c 4.617797e-03 18 1133 bis 5.130 7 181c 1 c 8.295979e-03 18 1134 bis 2.822 1 181c 1 c 6.260993e-03 18 1135 bis 0.282 3 181c 1 c 4.492146e-03 18 1136 bis 0.282 6 181c 1 c 3.756303e-03 18 1137 bis 5.130 7 181c 1 c 7.782101e-03 18 1138 bis 0.282 1 181c 1 c 4.158214e-03 18 1139 bis 0.282 3 181c 1 c 4.369715e-03 18 1140 bis 0.513 6 181c 1 c 4.973448e-03 18 1141 bis 5.130 7 181c 1 c 7.719097e-03 18 1142 bis 2.822 1 181c 1 c 7.053465e-03 18 1143 bis 0.051 3 181c 1 c 1.063476e-03 18 1144 bis 0.513 6 181c 1 c 4.798252e-03 18 1145 bis 2.822 7 181c 1 c 5.795407e-03 18 1146 bis 0.051 1 181c 1 c 3.722312e-03 18 1147 bis 0.282 3 181c 1 c 4.317753e-03 18 1148 bis 0.051 6 181c 1 c 2.292391e-03 18 1149 bis 5.130 7 181c 1 c 8.278081e-03 18 1150 bis 0.051 1 181c 1 c 3.567319e-03 18 1151 bis 0.282 3 181c 1 c 3.810701e-03 18 1152 bis 0.282 6 181c 1 c 3.786669e-03 18 1153 bis 5.130 7 181c 1 c 9.566171e-03 18 1154 bis 2.822 1 181c 1 c 6.314844e-03 18 1155 bis 0.513 3 181c 1 c 4.630101e-03 18 1156 bis 2.822 6 181c 1 c 5.880174e-03 18 1157 bis 5.130 7 181c 1 c 8.940790e-03 18 1158 bis 0.513 1 181c 1 c 4.766433e-03 18 1159 bis 0.051 3 181c 1 c 2.513260e-03 18 1160 bis 2.822 6 181c 1 c 5.314909e-03 18 1161 bis 0.513 7 181c 1 c 5.265298e-03 18 1162 bis 0.051 1 181c 1 c 2.377687e-03 18 1163 bis 0.051 3 181c 1 c 2.522184e-04 18 1164 bis 5.130 6 181c 1 c 7.925198e-03 18 1165 bis 2.822 7 181c 1 c 7.404926e-03 18 1243 gis 1.573 1 161c 1 c 3.453004e-03 16 1244 gis 0.004 3 161c 1 c 1.544058e-03 16 1245 gis 0.004 6 161c 1 c 8.255598e-04 16 1246 gis 0.157 7 161c 1 c 2.846118e-03 16 1247 gis 1.573 1 161c 1 c 3.392933e-03 16 1248 gis 0.016 3 161c 1 c 2.337893e-03 16 1249 gis 0.004 6 161c 1 c 1.084072e-04 16 1250 gis 0.157 7 161c 1 c 2.733454e-03 16 1251 gis 1.573 1 161c 1 c 3.794131e-03 16 1252 gis 0.157 3 161c 1 c 2.781483e-03 16 1253 gis 1.573 6 161c 1 c 3.011882e-03 16 1254 gis 0.004 7 161c 1 c 8.049596e-04 16 1255 gis 0.157 1 161c 1 c 2.923316e-03 16 1256 gis 0.016 3 161c 1 c 2.515428e-03 16 1257 gis 0.004 6 161c 1 c 1.056481e-03 16 1258 gis 0.008 7 161c 1 c 1.581678e-03 16 1259 gis 0.016 1 161c 1 c 2.430072e-03 16 1260 gis 0.008 3 161c 1 c 2.120360e-03 16 1261 gis 0.016 6 161c 1 c 2.377300e-03 16 1262 gis 0.157 7 161c 1 c 2.858009e-03 16 1263 gis 0.157 1 161c 1 c 2.676311e-03 16 1264 gis 0.004 3 161c 1 c 1.180386e-03 16 1265 gis 0.004 6 161c 1 c 1.551326e-03 16 1266 gis 0.016 7 161c 1 c 2.522070e-03 16 1267 gis 0.008 1 161c 1 c 2.154557e-03 16 1268 gis 0.008 3 161c 1 c 1.656465e-03 16 1269 gis 0.016 6 161c 1 c 2.475325e-03 16 1270 gis 1.573 7 161c 1 c 3.722630e-03 16 1271 gis 1.573 1 161c 1 c 4.594311e-03 16 1272 gis 0.008 3 161c 1 c 1.661009e-03 16 1273 gis 0.008 6 161c 1 c 1.802211e-03 16 1274 gis 1.573 7 161c 1 c 3.714947e-03 16 1328 gis 0.016 1 181c 1 c 8.588633e-03 18 1329 gis 1.573 2 181c 1 c 1.680460e-02 18 1330 gis 0.004 6 181c 1 c 4.284529e-03 18 1331 gis 0.016 7 181c 1 c 7.777883e-03 18 1332 gis 0.157 1 181c 1 c 1.293974e-02 18 1333 gis 1.573 2 181c 1 c 1.905308e-02 18 1334 gis 0.004 6 181c 1 c 1.135166e-03 18 1335 gis 0.004 7 181c 1 c 3.759616e-03 18 1336 gis 0.157 1 181c 1 c 1.271954e-02 18 1337 gis 0.008 2 181c 1 c 5.879627e-03 18 1338 gis 0.004 6 181c 1 c 9.230580e-04 18 1339 gis 0.016 7 181c 1 c 1.082127e-02 18 1340 gis 0.157 1 181c 1 c 1.166689e-02 18 1341 gis 1.573 2 181c 1 c 1.824258e-02 18 1342 gis 0.008 6 181c 1 c 4.857734e-03 18 1343 gis 0.016 7 181c 1 c 7.225440e-03 18 1344 gis 1.573 1 181c 1 c 2.592723e-02 18 1345 gis 0.016 2 181c 1 c 7.264130e-03 18 1346 gis 0.008 6 181c 1 c 6.291950e-03 18 1347 gis 0.008 7 181c 1 c 4.661936e-03 18 1348 gis 1.573 1 181c 1 c 1.806077e-02 18 1349 gis 1.573 2 181c 1 c 1.820426e-02 18 1350 gis 0.008 6 181c 1 c 5.263785e-03 18 1351 gis 0.008 7 181c 1 c 4.555819e-03 18 1352 gis 0.157 1 181c 1 c 1.532101e-02 18 1353 gis 0.157 2 181c 1 c 1.238893e-02 18 1354 gis 0.004 6 181c 1 c 9.095208e-04 18 1355 gis 0.008 7 181c 1 c 4.933601e-03 18 1356 gis 1.573 1 181c 1 c 2.583729e-02 18 1357 gis 1.573 2 181c 1 c 2.122647e-02 18 1358 gis 0.016 6 181c 1 c 6.348828e-03 18 1359 gis 0.004 7 181c 1 c 1.001621e-03 18 1360 gis 0.157 1 181c 1 c 1.662095e-02 18 1361 gis 0.157 2 181c 1 c 1.302736e-02 18 1362 gis 0.008 6 181c 1 c 5.169081e-03 18 1363 gis 0.004 7 181c 1 c 2.947944e-03 18 1364 gis 0.016 1 181c 1 c 1.137603e-02 18 1365 gis 0.157 2 181c 1 c 1.196922e-02 18 1366 gis 0.016 6 181c 1 c 9.491082e-03 18 1367 gis 0.004 7 181c 1 c 4.544830e-03 18 1428 can 1.233 1 161c 1 c 3.453004e-03 16 1429 can 0.003 3 161c 1 c 1.544058e-03 16 1430 can 0.003 6 161c 1 c 8.255598e-04 16 1431 can 0.123 7 161c 1 c 2.846118e-03 16 1432 can 1.233 1 161c 1 c 3.392933e-03 16 1433 can 0.012 3 161c 1 c 2.337893e-03 16 1434 can 0.003 6 161c 1 c 1.084072e-04 16 1435 can 0.123 7 161c 1 c 2.733454e-03 16 1436 can 1.233 1 161c 1 c 3.794131e-03 16 1437 can 0.123 3 161c 1 c 2.781483e-03 16 1438 can 1.233 6 161c 1 c 3.011882e-03 16 1439 can 0.003 7 161c 1 c 8.049596e-04 16 1440 can 0.123 1 161c 1 c 2.923316e-03 16 1441 can 0.012 3 161c 1 c 2.515428e-03 16 1442 can 0.003 6 161c 1 c 1.056481e-03 16 1443 can 0.006 7 161c 1 c 1.581678e-03 16 1444 can 0.012 1 161c 1 c 2.430072e-03 16 1445 can 0.003 3 161c 1 c 8.120360e-05 16 1446 can 0.012 6 161c 1 c 2.377300e-03 16 1447 can 0.123 7 161c 1 c 2.858009e-03 16 1448 can 0.123 1 161c 1 c 2.676311e-03 16 1449 can 0.003 3 161c 1 c 1.180386e-03 16 1450 can 0.006 6 161c 1 c 1.551326e-03 16 1451 can 0.012 7 161c 1 c 2.522070e-03 16 1452 can 0.006 1 161c 1 c 2.154557e-03 16 1453 can 0.006 3 161c 1 c 1.656465e-03 16 1454 can 0.012 6 161c 1 c 2.475325e-03 16 1455 can 1.233 7 161c 1 c 3.722630e-03 16 1456 can 1.233 1 161c 1 c 4.594311e-03 16 1457 can 0.006 3 161c 1 c 1.661009e-03 16 1458 can 0.006 6 161c 1 c 1.802211e-03 16 1459 can 1.233 7 161c 1 c 3.714947e-03 16 1526 can 0.012 1 181c 1 c 3.974568e-03 18 1527 can 0.003 6 181c 1 c 1.009321e-03 18 1528 can 0.012 7 181c 1 c 4.868598e-03 18 1529 can 0.003 1 181c 1 c 1.502920e-03 18 1530 can 0.003 6 181c 1 c 1.167179e-03 18 1531 can 0.123 7 181c 1 c 1.237988e-02 18 1532 can 0.006 1 181c 1 c 2.374013e-03 18 1533 can 0.003 6 181c 1 c 4.158801e-04 18 1534 can 0.012 7 181c 1 c 4.244968e-03 18 1535 can 0.123 1 181c 1 c 6.492153e-03 18 1536 can 0.012 6 181c 1 c 4.930405e-03 18 1537 can 0.006 7 181c 1 c 3.831146e-03 18 1538 can 1.233 1 181c 1 c 2.740951e-02 18 1539 can 0.003 6 181c 1 c 1.821078e-03 18 1540 can 0.123 7 181c 1 c 7.405356e-03 18 1541 can 0.006 1 181c 1 c 3.077323e-03 18 1542 can 1.233 6 181c 1 c 1.606477e-02 18 1543 can 0.012 7 181c 1 c 5.357297e-03 18 1544 can 0.006 1 181c 1 c 1.962090e-03 18 1545 can 1.233 6 181c 1 c 2.181591e-02 18 1546 can 1.233 7 181c 1 c 1.490172e-02 18 1547 can 0.003 1 181c 1 c 8.179950e-04 18 1548 can 0.006 6 181c 1 c 3.546347e-03 18 1549 can 1.233 7 181c 1 c 2.122010e-02 18 1550 can 1.233 1 181c 1 c 1.317724e-02 18 1551 can 0.123 6 181c 1 c 1.203856e-02 18 1552 can 0.123 7 181c 1 c 1.225951e-02 18
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Estimados, he cometido un error en el comando para graficar, lo corrijo aqui ... slds. eric. 1> xyplot(area~dia|factor(les),groups=Nfuc,data=rhelp, xlab="Time (days)", ylab="area cis",keys="auto.key",pch="*") On 05/13/2013 01:16 PM, neo wrote:> Estimada comunidad tengo el siguiente inconveniente: > > Estoy haciendo graficos para explorar la distribucion de unos datos en > el tiempo. Son 5 variables dependientes (como maximo, podrian ser menos) > y 7 dias de datos. En el grafico aparecen todos los datos mezclados y no > se a priori cual es cual. > > Para identificar cual simbolo es que variable, seria util una leyenda, > pero, al menos para mi, no es obvio a partir de la ayuda del comando > "legend" y de ejemplos que he visto, como decirle a R que extraiga esa > informacion a partir del archivo de datos, ya que yo la desconozco. > > Me explico ? > > Usando el archivo adjunto, grafico usando el siguiente comando: > > > 1> xyplot(area~dia|factor(sol),groups=NCar,data=graph, xlab="Time > (days)", ylab="area cis",keys="auto.key",pch="*") > > > Alguna sugerencia ? > > Slds, eric. >-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRkS0DAAoJEDoUMoeY1RuMWIQH/0tMCQftp0I4DHzxNwnqjWgc CPrn+sDrahtcPQEI0hSkuB9xJaR4UkvAQ7On3CkUZy6RYhT8LZcoapge9/UYTMQX L6ZPv03paHKmjnkhz7ELp5UN50ODod+EuyvR5YM9+3mhpjZuUPNL7XNAEVFNAVze XQwX/Y4dJfKqRq38BMAnIa5qeT/Z7jDbH+DzeQzOiyvuqRuaW9H/xN4ChtYYNGwY 6Srh1OHxmvbwOQY9hrle/l6I1BTvOrO3XIVxfQSbUPvYo50bqDFcC8SlY3ufuH/j VRi3e7koHmPqhWX8FsBDzmUFHaISiDNGOYO+Cvg2yTGUEFZX5yZb6PtsWZBlSVM=zeVJ -----END PGP SIGNATURE-----