{"id":419,"date":"2024-03-25T15:12:19","date_gmt":"2024-03-25T15:12:19","guid":{"rendered":"https:\/\/agustincastro.es\/?p=419"},"modified":"2026-01-24T13:22:25","modified_gmt":"2026-01-24T13:22:25","slug":"proyecto-analisis-de-los-precios-de-mercado-de-vehiculos-de-segunda-mano-mazda-mx5-precios-segun-anos-de-matriculacion","status":"publish","type":"post","link":"https:\/\/agustincastro.es\/index.php\/2024\/03\/25\/proyecto-analisis-de-los-precios-de-mercado-de-vehiculos-de-segunda-mano-mazda-mx5-precios-segun-anos-de-matriculacion\/","title":{"rendered":"[Proyecto] Precios de mercado de segunda mano: Mazda MX5 (II) &#8211; Precios seg\u00fan a\u00f1o de matriculaci\u00f3n"},"content":{"rendered":"\n<p>El dataset \u00abdata\u00bb que hemos preparado para el an\u00e1lisis de los precios de segunda mano del MAZDA MX5 tiene informaci\u00f3n de coches en venta con fechas de matriculaci\u00f3n entre los a\u00f1os 1990 y 2024. Utilizaremos algunas funciones de R para obtener informaci\u00f3n b\u00e1sica sobre estos veh\u00edculos, simplemente a modo de \u00aban\u00e1lisis previo\u00bb.  <\/p>\n\n\n\n<p>Agrupamos los datos por la variable \u00abyear\u00bb con <strong>group_by<\/strong> (a\u00f1o de matriculaci\u00f3n) y con <strong>summarise <\/strong>creamos y calculamos las nuevas variables uds (n\u00famero de veh\u00edculos), as\u00ed como precio medio, m\u00ednimo y m\u00e1ximo por a\u00f1o, respectivamente. Con <strong>mutate<\/strong> creamos la variable \u00abuds%\u00bb (porcentaje de unidades \/ a\u00f1o de matriculaci\u00f3n). El resultado lo ofrecemos ordenando de manera descendiente el precio medio por a\u00f1o de matriculaci\u00f3n con la funci\u00f3n <strong>arrange(desc())<\/strong><\/p>\n\n\n\n<p>Podemos comprobar que la suma de los porcentajes de la variable calculada uds% es correcta (100%) con <strong>sum(miata_price_year$<code>uds%<\/code>)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"457\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-6-1024x457.png\" alt=\"\" class=\"wp-image-420 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-6-1024x457.png 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-6-300x134.png 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-6-768x343.png 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-6-1536x686.png 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-6.png 1725w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/457;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"447\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-7-1024x447.png\" alt=\"\" class=\"wp-image-427 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-7-1024x447.png 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-7-300x131.png 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-7-768x335.png 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-7-1536x671.png 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-7.png 1658w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/447;\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>A\u00f1o de matriculaci\u00f3n con mayor n\u00famero de veh\u00edculos en venta<\/strong> = <strong><em>2019<\/em><\/strong><\/li>\n\n\n\n<li><strong>Unidades en venta de ese a\u00f1o<\/strong> <strong>2019 <\/strong>= <strong><em>21<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"142\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-10-1024x142.png\" alt=\"\" class=\"wp-image-432 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-10-1024x142.png 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-10-300x42.png 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-10-768x106.png 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-10-1536x213.png 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-10-2048x283.png 2048w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/142;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"94\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-11-1024x94.png\" alt=\"\" class=\"wp-image-433 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-11-1024x94.png 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-11-300x27.png 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-11-768x70.png 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-11-1536x140.png 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-11-2048x187.png 2048w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/94;\" \/><\/figure>\n\n\n\n<p>Realizamos un gr\u00e1fico para representar la evoluci\u00f3n del precio de los veh\u00edculos en venta seg\u00fan el a\u00f1o de matriculaci\u00f3n. Utilizamos la librer\u00eda <strong>ggplot <\/strong>y las geometr\u00edas punto y l\u00ednea. Con <strong>ggsave <\/strong>grabamos la imagen como fichero .jpg en nuestro directorio de trabajo. En el gr\u00e1fico no se discriminan los diferentes modelos, colores, motorizaciones, u otros datos. Podemos ver que los coches matriculados desde 2015 en adelante alcanzan precios significativamente m\u00e1s elevados.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"495\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-8-1024x495.png\" alt=\"\" class=\"wp-image-428 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-8-1024x495.png 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-8-300x145.png 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-8-768x371.png 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-8-1536x743.png 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-8-2048x990.png 2048w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/495;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"768\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/miata_price_year_plot-1024x768.jpg\" alt=\"\" class=\"wp-image-429 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/miata_price_year_plot-1024x768.jpg 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/miata_price_year_plot-300x225.jpg 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/miata_price_year_plot-768x576.jpg 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/miata_price_year_plot-1536x1152.jpg 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/miata_price_year_plot-2048x1536.jpg 2048w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/768;\" \/><\/figure>\n\n\n\n<p>Calculamos los precios medios, m\u00ednimos y m\u00e1ximos de los coches con fecha de matriculaci\u00f3n igual y superior a 2015. Tendr\u00edamos un total de 106 coches en venta, con un precio m\u00ednimo de 14.995 euros y una media de 27.051 euros. El mayor precio ser\u00eda 43.900 euros. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"193\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-12-1024x193.png\" alt=\"\" class=\"wp-image-440 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-12-1024x193.png 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-12-300x57.png 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-12-768x145.png 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-12-1536x290.png 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-12.png 1940w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/193;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"102\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-13-1024x102.png\" alt=\"\" class=\"wp-image-441 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-13-1024x102.png 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-13-300x30.png 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-13-768x77.png 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-13-1536x154.png 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-13-2048x205.png 2048w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/102;\" \/><\/figure>\n\n\n\n<p>\u00bfCu\u00e1les ser\u00edan las caracter\u00edsticas del coche m\u00e1s caro de ese intervalo? Podemos, por ejemplo, calcularlo de la siguiente forma:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"101\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-14-1024x101.png\" alt=\"\" class=\"wp-image-442 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-14-1024x101.png 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-14-300x29.png 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-14-768x75.png 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-14-1536x151.png 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-14.png 1914w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/101;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"91\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-15-1024x91.png\" alt=\"\" class=\"wp-image-443 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-15-1024x91.png 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-15-300x27.png 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-15-768x68.png 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-15-1536x136.png 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-15.png 1899w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/91;\" \/><\/figure>\n\n\n\n<p>\u00bfY el m\u00e1s econ\u00f3mico?<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"133\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-16-1024x133.png\" alt=\"\" class=\"wp-image-446 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-16-1024x133.png 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-16-300x39.png 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-16-768x100.png 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-16-1536x200.png 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-16.png 1619w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/133;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"98\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-17-1024x98.png\" alt=\"\" class=\"wp-image-447 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-17-1024x98.png 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-17-300x29.png 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-17-768x74.png 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-17-1536x147.png 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-17.png 1823w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/98;\" \/><\/figure>\n\n\n\n<p>En ambos casos, el modelo de MX5 en venta es un ND (de cuarta generaci\u00f3n) de color \u00abrojo soul\u00bb.  <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>El m\u00e1s caro es un veh\u00edculo de km 0 en venta por 43.900 euros. Este tiene fecha de matriculaci\u00f3n de 2024, cuenta con mayor potencia (184 cv), y tiene un techo de tipo RF (Retractable Fastback). Estar\u00eda disponible en Le\u00f3n. <\/li>\n\n\n\n<li>El m\u00e1s econ\u00f3mico es un coche con 72.410 km y con un precio de 19.995 euros, matriculado en el a\u00f1o 2015 y con 160 cv y techo ST (Soft Top). Disponible en Madrid. <\/li>\n\n\n\n<li>Ahora mismo solo estamos realizando un an\u00e1lisis exploratorio. No obstante, si fuera objetivo del estudio analizar qu\u00e9 variables est\u00e1n influyendo en los precios de los veh\u00edculos en venta, deber\u00edamos tener en cuenta otros factores adem\u00e1s de los que estamos mostrando en este caso pr\u00e1ctico (a\u00f1o de matriculaci\u00f3n, kms, color, tipo de techo&#8230;). Ser\u00eda interesante, por ejemplo, indicar la gama del veh\u00edculo, dado que est\u00e1 claro que define las prestaciones y, por tanto, influir\u00e1 en el precio. Ahora mismo no estamos teniendo en cuenta este dato, pero si lo haremos llegado el momento.  <\/li>\n<\/ul>\n\n\n\n<p><strong>REPRESENTACI\u00d3N GR\u00c1FICA DE LOS PRECIOS EN FUNCI\u00d3N AL A\u00d1O DE MATRICULACI\u00d3N<\/strong><\/p>\n\n\n\n<p>Ahora representamos con puntos los precios correspondientes a cada coche en venta en funci\u00f3n al su a\u00f1o de matriculaci\u00f3n, como antes, utilizando la librer\u00eda <strong>ggplot<\/strong>. En este caso, con el fin de crear un gr\u00e1fico visualmente atractivo, aplicamos un gradiente de color verde\/rojo para resaltar los precios m\u00e1s bajos y elevados, respectivamente. En el ejemplo se muestra como se indican las variables representadas en los ejes X, e Y, as\u00ed como el tama\u00f1o (<strong>size<\/strong>) y transparencia (<strong>alpha<\/strong>) de los puntos. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"498\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-18-1024x498.png\" alt=\"\" class=\"wp-image-448 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-18-1024x498.png 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-18-300x146.png 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-18-768x374.png 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-18-1536x748.png 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/image-18.png 1627w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/498;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"768\" data-src=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/price_data_year-1024x768.jpg\" alt=\"\" class=\"wp-image-449 lazyload\" data-srcset=\"https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/price_data_year-1024x768.jpg 1024w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/price_data_year-300x225.jpg 300w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/price_data_year-768x576.jpg 768w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/price_data_year-1536x1152.jpg 1536w, https:\/\/agustincastro.es\/wp-content\/uploads\/2024\/03\/price_data_year-2048x1536.jpg 2048w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/768;\" \/><\/figure>\n\n\n\n<p>seguimos pr\u00f3ximamente&#8230; <\/p>\n","protected":false},"excerpt":{"rendered":"<p>El dataset \u00abdata\u00bb que hemos preparado para el an\u00e1lisis de los precios de segunda mano del MAZDA MX5 tiene informaci\u00f3n de coches en venta con fechas de matriculaci\u00f3n entre los a\u00f1os 1990 y 2024. Utilizaremos algunas funciones de R para obtener informaci\u00f3n b\u00e1sica sobre estos veh\u00edculos, simplemente a modo de \u00aban\u00e1lisis previo\u00bb. Agrupamos los datos [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":418,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,5],"tags":[],"class_list":["post-419","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-r","category-tecnica-y-practica"],"_links":{"self":[{"href":"https:\/\/agustincastro.es\/index.php\/wp-json\/wp\/v2\/posts\/419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/agustincastro.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/agustincastro.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/agustincastro.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/agustincastro.es\/index.php\/wp-json\/wp\/v2\/comments?post=419"}],"version-history":[{"count":7,"href":"https:\/\/agustincastro.es\/index.php\/wp-json\/wp\/v2\/posts\/419\/revisions"}],"predecessor-version":[{"id":451,"href":"https:\/\/agustincastro.es\/index.php\/wp-json\/wp\/v2\/posts\/419\/revisions\/451"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/agustincastro.es\/index.php\/wp-json\/wp\/v2\/media\/418"}],"wp:attachment":[{"href":"https:\/\/agustincastro.es\/index.php\/wp-json\/wp\/v2\/media?parent=419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/agustincastro.es\/index.php\/wp-json\/wp\/v2\/categories?post=419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/agustincastro.es\/index.php\/wp-json\/wp\/v2\/tags?post=419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}