<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline}
span.EstiloCorreo17
        {font-family:Arial;
        color:navy}
@page Section1
        {margin:70.85pt 3.0cm 70.85pt 3.0cm}
-->
</style>
</head>
<body lang="ES-TRAD" link="blue" vlink="blue">
<div class="Section1">
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt; font-family:Arial; color:navy">Versión de r 2.12.2 (2011-02-25)</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt; font-family:Arial; color:navy"> </span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt; font-family:Arial; color:navy">Básicamente lo que trato de hacer es crear dos vectores uno con fechas y otro con datos.</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt; font-family:Arial; color:navy"> </span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt; font-family:Arial; color:navy">Y graficarlos….. con lo que me has mandado he conseguido sacar esto pero claro en el eje de abcisas no me salen las fechas</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt; font-family:Arial; color:navy"><img width="600" height="786" id="_x0000_i1026" src="cid:image001.gif@01CDF8BD.A884B830"></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt; font-family:Arial; color:navy"> </span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt; font-family:Arial; color:navy"> </span></font></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span lang="ES" style="font-size:12.0pt">
<hr size="2" width="100%" align="center" tabindex="-1">
</span></font></div>
<p class="MsoNormal"><b><font size="2" face="Tahoma"><span lang="ES" style="font-size:10.0pt; font-family:Tahoma; font-weight:bold">De:</span></font></b><font size="2" face="Tahoma"><span lang="ES" style="font-size:10.0pt; font-family:Tahoma"> daniel [mailto:daniel319@gmail.com]
<br>
<b><span style="font-weight:bold">Enviado el:</span></b> martes, 22 de enero de 2013 16:25<br>
<b><span style="font-weight:bold">Para:</span></b> FERRER MARTINEZ, DIEGO<br>
<b><span style="font-weight:bold">CC:</span></b> Carlos J. Gil Bellosta; Diego; r-help-es@r-project.org<br>
<b><span style="font-weight:bold">Asunto:</span></b> Re: [R-es] GRAFICAR FECHAS Y DATOS EN R</span></font><span lang="ES"></span></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Diego</span></font>,</p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Aparentemente estamos en universos diferentes. Cuando dices que es la forma en que aprendiste el programa, disculpa pero no trato de ser grosero, ¿qué programa? si la
 respuesta es R ¿qué versión de R usas? ¿corristes el ejemplo anterior donde uso tus propios datos? si la respuesta es que si pero no funcionó, ¿dónde y cuál fue el error?</span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Daniel Merino</span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">El 21 de enero de 2013 12:40, FERRER MARTINEZ, DIEGO <<a href="mailto:FERRERDIEGO@bancsabadell.com" target="_blank">FERRERDIEGO@bancsabadell.com</a>> escribió:</span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Me vais a disculpar pero no se como hacerlo.<br>
La idea que tengo es definir dos vectores al menos es como he aprendido el programa.<br>
A<-scan(xxx)<br>
B<-scan(xxx)<br>
<br>
A, por ejemplo contendría las fechas (en la abcisa) y B, los precios (en la ordenada)<br>
<br>
Luego los graficaría...<br>
<br>
Os adjunto el Excel con los datos por si tuvierais un momento para pasarme el código<br>
<br>
<br>
Gracias<br>
<br>
<br>
-----Mensaje original-----<br>
De: <a href="mailto:gilbellosta@gmail.com">gilbellosta@gmail.com</a> [mailto:<a href="mailto:gilbellosta@gmail.com">gilbellosta@gmail.com</a>] En nombre de Carlos J. Gil Bellosta<br>
Enviado el: lunes, 21 de enero de 2013 15:57<br>
Para: Diego<br>
CC: FERRER MARTINEZ, DIEGO; <a href="mailto:r-help-es@r-project.org">r-help-es@r-project.org</a></span></font></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Asunto: Re: [R-es] GRAFICAR FECHAS Y DATOS EN R</span></font></p>
</div>
<div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Hola, ¿qué tal?<br>
<br>
Usa el paquete zoo (por ejemplo). Tienes ejemplos en el blog de<br>
Gregorio Serrano:<br>
<br>
<a href="http://www.grserrano.es/wp/2012/04/gebr-5-regresion-con-series-temporales-i/" target="_blank">http://www.grserrano.es/wp/2012/04/gebr-5-regresion-con-series-temporales-i/</a><br>
<br>
Un saludo,<br>
<br>
Carlos J. Gil Bellosta<br>
<a href="http://www.datanalytics.com" target="_blank">http://www.datanalytics.com</a><br>
<br>
El día 21 de enero de 2013 15:50, Diego <<a href="mailto:diego.ferrer@telefonica.net">diego.ferrer@telefonica.net</a>> escribió:<br>
><br>
><br>
> Enviado desde mi iPhone<br>
><br>
> El 21/01/2013, a las 13:17, "FERRER MARTINEZ, DIEGO" <<a href="mailto:FERRERDIEGO@bancsabadell.com">FERRERDIEGO@bancsabadell.com</a>> escribió:<br>
><br>
>> Buenas,<br>
>><br>
>> Como podría graficar fechas en el eje de abcisas y datos en el de ordenadas. Son series financieras<br>
>><br>
>> Gracias<br>
>><br>
>> 21/01/2013<br>
>> 8.628,300<br>
>> 18/01/2013<br>
>> 8.662,300<br>
>> 17/01/2013<br>
>> 8.568,400<br>
>> 16/01/2013<br>
>> 8.588,900<br>
>> 15/01/2013<br>
>> 8.549,600<br>
>> 14/01/2013<br>
>> 8.699,200<br>
>> 11/01/2013<br>
>> 8.638,000<br>
>> 10/01/2013<br>
>> 8.607,300<br>
>> 09/01/2013<br>
>> 8.491,800<br>
>> 08/01/2013<br>
>> 8.388,200<br>
>> 07/01/2013<br>
>> 8.434,300<br>
>> 04/01/2013<br>
>> 8.411,700<br>
>> 03/01/2013<br>
>> 8.375,000<br>
>> 02/01/2013<br>
>> 8.337,900<br>
>> 31/12/2012<br>
>> 8.111,900<br>
>> 28/12/2012<br>
>> 8.276,600<br>
>> 27/12/2012<br>
>> 8.236,500<br>
>> 24/12/2012<br>
>> 8.261,600<br>
>> 21/12/2012<br>
>> 8.223,500<br>
>> 20/12/2012<br>
>> 8.226,700<br>
>> 19/12/2012<br>
>> 8.192,300<br>
>> 18/12/2012<br>
>> 8.068,600<br>
>> 17/12/2012<br>
>> 8.017,800<br>
>> 14/12/2012<br>
>> 8.025,900<br>
>> 13/12/2012<br>
>> 8.005,900<br>
>> 12/12/2012<br>
>> 7.935,100<br>
>> 11/12/2012<br>
>> 7.813,600<br>
>> 10/12/2012<br>
>> 7.796,100<br>
>> 07/12/2012<br>
>> 7.915,700<br>
>> 06/12/2012<br>
>> 7.905,800<br>
>> 05/12/2012<br>
>> 7.948,500<br>
>> 04/12/2012<br>
>> 7.871,900<br>
>> 03/12/2012<br>
>> 7.963,400<br>
>> 30/11/2012<br>
>> 7.967,900<br>
>> 29/11/2012<br>
>> 7.887,400<br>
>> 28/11/2012<br>
>> 7.839,400<br>
>> 27/11/2012<br>
>> 7.936,600<br>
>> 26/11/2012<br>
>> 7.882,800<br>
>> 23/11/2012<br>
>> 7.887,200<br>
>> 22/11/2012<br>
>> 7.828,500<br>
>> 21/11/2012<br>
>> 7.751,800<br>
>> 20/11/2012<br>
>> 7.722,400<br>
>> 19/11/2012<br>
>> 7.661,800<br>
>> 16/11/2012<br>
>> 7.694,000<br>
>> 15/11/2012<br>
>> 7.615,400<br>
>> 14/11/2012<br>
>> 7.695,600<br>
>> 13/11/2012<br>
>> 7.521,900<br>
>> 12/11/2012<br>
>> 7.632,100<br>
><br>
>         [[alternative HTML version deleted]]<br>
><br>
><br>
> _______________________________________________<br>
> R-help-es mailing list<br>
> <a href="mailto:R-help-es@r-project.org">R-help-es@r-project.org</a><br>
> <a href="https://stat.ethz.ch/mailman/listinfo/r-help-es" target="_blank">https://stat.ethz.ch/mailman/listinfo/r-help-es</a><br>
></span></font></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">________________________________<br>
Advertencia legal: Este mensaje y, en su caso, los ficheros anexos son confidenciales, especialmente en lo que respecta a los datos personales, y se dirigen exclusivamente al destinatario referenciado. Si usted no lo es y lo ha recibido por error o tiene conocimiento
 del mismo por cualquier motivo, le rogamos que nos lo comunique por este medio y proceda a destruirlo o borrarlo, y que en todo caso se abstenga de utilizar, reproducir, alterar, archivar o comunicar a terceros el presente mensaje y ficheros anexos, todo ello
 bajo pena de incurrir en responsabilidades legales. El emisor no garantiza la integridad, rapidez o seguridad del presente correo, ni se responsabiliza de posibles perjuicios derivados de la captura, incorporaciones de virus o cualesquiera otras manipulaciones
 efectuadas por terceros.<br>
________________________________<br>
Advertiment legal: Aquest missatge i, si escau, els fitxers annexos tenen caire confidencial, especialment pel que fa a les dades personals, i s'adrecen exclusivament al destinatari referenciat. Si no es tracta d'aquest i l'ha rebut per error o se li ha fet
 arribar per qualsevol motiu, li preguem que ens ho comuniqui per aquesta mateixa via i el destrueixi o l'esborri, i que en tot cas s'abstingui d'utilitzar, reproduir, alterar, arxivar o comunicar a tercers aquest missatge i fitxers annexos, tot sota pena d'entrar
 en responsabilitats legals. L'emissor no garanteix la integritat, la rapidesa o la seguretat d'aquest correu, ni es responsabilitza de possibles perjudicis derivats de la captura, incorporacions de virus o qualsevol altres manipulacions que facin tercers.<br>
________________________________<br>
Disclaimer: This message and any attached files transmitted with it, is confidential, especially as regards personal data. It is intended solely for the use of the individual or entity to whom it is addressed. If you are not the intended recipient and have
 received this information in error or have accessed it for any reason, please notify us of this fact by email reply and then destroy or delete the message, refraining from any reproduction, use, alteration, filing or communication to third parties of this
 message and attached files on penalty of incurring legal responsibilities. The sender does not guarantee the integrity, the accuracy, the swift delivery or the security of this email transmission, and assumes no responsibility for any possible damage incurred
 through data capture, virus incorporation or any manipulation carried out by third parties.<br>
<br>
________________________________</span></font></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
_______________________________________________<br>
R-help-es mailing list<br>
<a href="mailto:R-help-es@r-project.org">R-help-es@r-project.org</a><br>
<a href="https://stat.ethz.ch/mailman/listinfo/r-help-es" target="_blank">https://stat.ethz.ch/mailman/listinfo/r-help-es</a></span></font></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
<br clear="all">
</span></font></p>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">--
<br>
Daniel </span></font></p>
</div>
</div>
<p></p>
<hr>
<strong>Advertencia legal:</strong> <em>Este mensaje y, en su caso, los ficheros anexos son confidenciales, especialmente en lo que respecta a los datos personales, y se dirigen exclusivamente al destinatario referenciado. Si usted no lo es y lo ha recibido
 por error o tiene conocimiento del mismo por cualquier motivo, le rogamos que nos lo comunique por este medio y proceda a destruirlo o borrarlo, y que en todo caso se abstenga de utilizar, reproducir, alterar, archivar o comunicar a terceros el presente mensaje
 y ficheros anexos, todo ello bajo pena de incurrir en responsabilidades legales. El emisor no garantiza la integridad, rapidez o seguridad del presente correo, ni se responsabiliza de posibles perjuicios derivados de la captura, incorporaciones de virus o
 cualesquiera otras manipulaciones efectuadas por terceros.</em>
<p></p>
<p></p>
<hr>
<strong>Advertiment legal:</strong> <em>Aquest missatge i, si escau, els fitxers annexos tenen caire confidencial, especialment pel que fa a les dades personals, i s'adrecen exclusivament al destinatari referenciat. Si no es tracta d'aquest i l'ha rebut per
 error o se li ha fet arribar per qualsevol motiu, li preguem que ens ho comuniqui per aquesta mateixa via i el destrueixi o l'esborri, i que en tot cas s'abstingui d'utilitzar, reproduir, alterar, arxivar o comunicar a tercers aquest missatge i fitxers annexos,
 tot sota pena d'entrar en responsabilitats legals. L'emissor no garanteix la integritat, la rapidesa o la seguretat d'aquest correu, ni es responsabilitza de possibles perjudicis derivats de la captura, incorporacions de virus o qualsevol altres manipulacions
 que facin tercers.</em>
<p></p>
<p></p>
<hr>
<strong>Disclaimer:</strong> <em>This message and any attached files transmitted with it, is confidential, especially as regards personal data. It is intended solely for the use of the individual or entity to whom it is addressed. If you are not the intended
 recipient and have received this information in error or have accessed it for any reason, please notify us of this fact by email reply and then destroy or delete the message, refraining from any reproduction, use, alteration, filing or communication to third
 parties of this message and attached files on penalty of incurring legal responsibilities. The sender does not guarantee the integrity, the accuracy, the swift delivery or the security of this email transmission, and assumes no responsibility for any possible
 damage incurred through data capture, virus incorporation or any manipulation carried out by third parties.</em>
<p></p>
<hr>
</body>
</html>