{"id":13711155,"url":"https://github.com/mpru/ggcleveland","last_synced_at":"2025-10-22T04:02:00.096Z","repository":{"id":56934723,"uuid":"263214512","full_name":"mpru/ggcleveland","owner":"mpru","description":"Implementation of plots from Cleveland's Visualizing Data book in ggplot2","archived":false,"fork":false,"pushed_at":"2021-09-29T16:15:00.000Z","size":7970,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-20T00:41:59.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpru.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-12T02:42:49.000Z","updated_at":"2024-04-08T09:47:54.000Z","dependencies_parsed_at":"2022-08-21T06:50:44.984Z","dependency_job_id":null,"html_url":"https://github.com/mpru/ggcleveland","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpru%2Fggcleveland","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpru%2Fggcleveland/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpru%2Fggcleveland/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpru%2Fggcleveland/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpru","download_url":"https://codeload.github.com/mpru/ggcleveland/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224528345,"owners_count":17326348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T23:01:05.095Z","updated_at":"2025-10-22T04:01:55.058Z","avatar_url":"https://github.com/mpru.png","language":"R","funding_links":[],"categories":["Plot layers"],"sub_categories":[],"readme":"---\noutput: github_document\neditor_options: \n  chunk_output_type: console\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\", error = FALSE, message = FALSE,\n  fig.path = \"man/figures/README-\",\n  # out.width = \"70%\",\n  fig.align = \"center\"\n)\n```\n\n# ggcleveland \u003cimg src=\"man/figures/logo.png\" align=\"right\" alt=\"\" width=\"160\" /\u003e\n\n## Gráficos para Análisis Exploratorio de Datos\n\n## Plots for Exploratory Data Analysis\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html)\n[![CRAN status](https://www.r-pkg.org/badges/version/ggcleveland?color=orange)](https://CRAN.R-project.org/package=ggcleveland)\n[![Downloads](https://cranlogs.r-pkg.org/badges/ggcleveland?color=orange)](https://CRAN.R-project.org/package=ggcleveland)\n\u003c!-- badges: end --\u003e\n\n---\n\nWeb: [https://mpru.github.io/ggcleveland/](https://mpru.github.io/ggcleveland/)\n\nCRAN: \u003chttps://CRAN.R-project.org/package=ggcleveland\u003e\n\n---\n\nEl libro *Visualizing Data* de William S. Cleveland es una pieza clásica en la literatura sobre Análisis Exploratorio de Datos (AED). Habiendo sido escrito algunas décadas atrás, su contenido sigue siendo relevante ya que propone herramientas útiles para descubrir patrones y relaciones en los datos estudiados, como así también para evaluar ajustes. Este paquete ofrece funciones que producen la versión en `ggplot2` de las herramientas de visualización descriptas en este libro. Fue diseñado como material complementario en cursos sobre AED.\n\n---\n\nWilliam S. Cleveland's book 'Visualizing Data' is a classic piece \nof literature on Exploratory Data Analysis (EDA). Although it was written \nseveral decades ago, its content is still relevant as it proposes several \ntools which are useful to discover patterns and relationships among the data \nunder study, and also to assess the goodness of fit o a model.  This package \nprovides functions to produce the ggplot2 versions of the visualization tools \ndescribed in this book and is thought to be used in the context of courses on \nEDA.\n\n## Instalación / Instalation\n\nPodés instalar `ggcleveland` desde [CRAN](https://CRAN.R-project.org/package=ggcleveland) / You can install `ggcleveland` from [CRAN](https://CRAN.R-project.org/package=ggcleveland):\n\n``` r\ninstall.packages(\"ggcleveland\")\n```\n\nTambién podés instalar la versión en desarrollo del paquete `ggcleveland` desde [GitHub](https://github.com/mpru/ggcleveland) / You can also install the development version from [GitHub](https://github.com/mpru/ggcleveland):\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"mpru/ggcleveland\")\n```\n## Ejemplos / Examples\n\nPodés ver ejemplos de cada una de los gráficos producidos con este paquete en las viñetas. Algunos de ellos son:\n\n---\n\nYou can explore examples of each of the plots produced by this package in the vignettes. Some of them are:\n\n*Gráficos condicionales / Coplots*:\n\n```{r, fig.width=6, fig.height=5}\nlibrary(ggcleveland)\nlibrary(dplyr)\nlibrary(ggplot2)\ntheme_set(theme_bw() + theme(panel.spacing = unit(0, \"lines\")))\n\ndata(rubber)\n\ngg_coplot(rubber, x = tensile.strength, y = abrasion.loss, faceting = hardness,\n  number_bins = 6, overlap = 3/4,\n  ylabel = \"Pérdida de abrasión (g/hp-hour))\",\n  xlabel = \"Resistencia a la tracción (kg/cm2)\",\n  facet_label = \"Dureza (grados Shore)\", \n  loess_family = \"symmetric\", size = 2)\n```\n\n*Residual-Fit plots*:\n\n```{r, fig.height=2.5, fig.width=6}\ndata(futbol)\n\nfutbol \u003c- \n  futbol %\u003e% \n  group_by(longp) %\u003e% \n  mutate(ajuste = mean(dist), res = dist - ajuste)\n\ngg_rf(futbol, dist, ajuste, res, cen_obs = TRUE, ylabel = \"Distancia (m)\")\n```\n\n*Gráfico Media-Diferencia de Tukey / Tukey's MD Plot*:\n\n```{r, fig.width=6, fig.height=6}\ngg_tmd(futbol, dist, longp, size = 0.5)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpru%2Fggcleveland","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpru%2Fggcleveland","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpru%2Fggcleveland/lists"}