ggmice
Visualize incomplete and imputed data with the R package `ggmice`
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (18.7%) to scientific vocabulary
Keywords
cran
ggplot2
mice
r
r-package
rstats
visualization
Last synced: 4 months ago
·
JSON representation
·
Repository
Visualize incomplete and imputed data with the R package `ggmice`
Basic Info
- Host: GitHub
- Owner: amices
- License: gpl-3.0
- Language: R
- Default Branch: main
- Homepage: http://amices.org/ggmice
- Size: 230 MB
Statistics
- Stars: 34
- Watchers: 4
- Forks: 9
- Open Issues: 48
- Releases: 2
Topics
cran
ggplot2
mice
r
r-package
rstats
visualization
Created almost 4 years ago
· Last pushed 5 months ago
Metadata Files
Readme
Changelog
Contributing
License
Code of conduct
Citation
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# `ggmice`
[](https://cran.r-project.org/package=ggmice)
[](https://cranlogs.r-pkg.org/badges/grand-total/ggmice)
[](https://amices.r-universe.dev/ggmice)
[](https://doi.org/10.5281/zenodo.6532702)
[](https://lifecycle.r-lib.org/articles/stages.html#stable)
[](https://github.com/amices/ggmice/blob/main/DESCRIPTION)
[](https://github.com/amices/ggmice/actions)
## Visualizations for `mice` with `ggplot2`
Enhance a [`mice`](https://amices.org/mice/) imputation workflow with visualizations for incomplete and/or imputed data. The `ggmice` functions produce [`ggplot`](https://ggplot2.tidyverse.org/reference/ggplot) objects which may be easily manipulated or extended. Use `ggmice` to inspect missing data, develop imputation models, evaluate algorithmic convergence, or compare observed versus imputed data.
## Installation
You can install the latest `ggmice` release from [CRAN](https://CRAN.R-project.org/package=ggmice) with:
``` r
install.packages("ggmice")
```
Alternatively, you could install the development version of `ggmice` from [GitHub](https://github.com/amices) with:
``` r
# install.packages("devtools")
devtools::install_github("amices/ggmice")
```
## Example
Inspect the missing data in an incomplete dataset and subsequently evaluate the imputed data points against observed data. See the [Get started](https://amices.org/ggmice/articles/ggmice.html) vignette for an overview of all functionalities. Example data from [`mice`](https://amices.org/mice/reference/boys), showing height (in cm) by age (in years).
```{r example, message=FALSE, warning=FALSE, echo=TRUE, results='hide', fig.keep='all'}
# load packages
library(ggplot2)
library(mice)
library(ggmice)
# load some data
dat <- boys
# visualize the incomplete data
ggmice(dat, aes(age, hgt)) + geom_point()
# impute the incomplete data
imp <- mice(dat, m = 1, seed = 1)
# visualize the imputed data
ggmice(imp, aes(age, hgt)) + geom_point()
```
## Acknowledgements
The `ggmice` package is developed with guidance and feedback from the [Amices](https://github.com/amices) team. The `ggmice` hex is based on the [`ggplot2`](https://github.com/tidyverse/ggplot2/) and [`mice`](https://github.com/amices/mice) hex designs.
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under ReCoDID grant agreement No 825746.
## Code of Conduct
You are invited to join the improvement and development of `ggmice`. Please note that the project is released with a [Contributor Code of Conduct](https://amices.org/ggmice/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
[](https://www.gnu.org/licenses/gpl-3.0.en.html)
[](https://app.codecov.io/gh/amices/ggmice?branch=main)
[](https://bestpractices.coreinfrastructure.org/projects/6036)
[](https://fair-software.eu)
Owner
- Name: MICE
- Login: amices
- Kind: organization
- Website: amices.org
- Twitter: MICEamices
- Repositories: 13
- Profile: https://github.com/amices
A home for the growing MICE family
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: ggmice
message: Please cite this software using these metadata.
type: software
authors:
- given-names: Hanne Ida
family-names: Oberman
email: h.i.oberman@uu.nl
affiliation: Utrecht University
orcid: 'https://orcid.org/0000-0003-3276-2141'
repository-code: 'https://github.com/amices/ggmice'
url: 'https://amices.org/ggmice'
repository: 'https://CRAN.R-project.org/package=ggmice'
abstract: >-
Enhance a 'mice' imputation workflow with
visualizations for incomplete and/or imputed data.
The plotting functions produce 'ggplot' objects
which may be easily manipulated or extended. Use
'ggmice' to inspect missing data, develop
imputation models, evaluate algorithmic
convergence, or compare observed versus imputed
data.
keywords:
- mice
- visualization
- ggplot2
- missing data
- r
license: GPL-3.0+
commit: >-
https://github.com/amices/ggmice/commit/fc5bb471a65307e8942a613f0f79423c893db1e2
version: v0.0.1
date-released: '2022-03-17'
GitHub Events
Total
- Issues event: 4
- Watch event: 2
- Issue comment event: 5
- Push event: 31
- Pull request event: 4
- Create event: 3
Last Year
- Issues event: 4
- Watch event: 2
- Issue comment event: 5
- Push event: 31
- Pull request event: 4
- Create event: 3
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| hanneoberman | h****n@u****l | 201 |
| pepijnvink | p****k@g****m | 20 |
| Gerko Vink | g****k@u****l | 14 |
| Jamie Wallis | 5****b | 4 |
| Thom Volker | t****r@u****l | 2 |
Committer Domains (Top 20 + Academic)
uu.nl: 3
Issues and Pull Requests
Last synced: 5 months ago
All Time
- Total issues: 90
- Total pull requests: 74
- Average time to close issues: 4 months
- Average time to close pull requests: 9 days
- Total issue authors: 11
- Total pull request authors: 11
- Average comments per issue: 1.3
- Average comments per pull request: 0.84
- Merged pull requests: 53
- Bot issues: 0
- Bot pull requests: 5
Past Year
- Issues: 9
- Pull requests: 3
- Average time to close issues: N/A
- Average time to close pull requests: 9 days
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 0.22
- Average comments per pull request: 0.67
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- hanneoberman (79)
- rjverheijden (1)
- kristenbhunter (1)
- JacopoVanoli (1)
- thomvolker (1)
- mikemattaUH (1)
- martinmacias (1)
- KLuijken (1)
- pepijnvink (1)
- gerkovink (1)
Pull Request Authors
- hanneoberman (49)
- pepijnvink (13)
- allcontributors[bot] (5)
- gerkovink (2)
- thomvolker (2)
- jwallib (2)
- Ernst-Paul (1)
- KyuriP (1)
- EdoardoCostantini (1)
- rjverheijden (1)
- kylelang (1)
Top Labels
Issue Labels
enhancement (26)
bug (18)
workinprogress (16)
documentation (13)
long term (5)
maintenance (4)
UX (1)
help wanted (1)
wontfix (1)
Pull Request Labels
bug (2)
enhancement (1)
Dependencies
DESCRIPTION
cran
- dplyr * imports
- ggplot2 * imports
- magrittr * imports
- mice * imports
- purrr * imports
- rlang * imports
- stats * imports
- stringr * imports
- tidyr * imports
- utils * imports
- covr * suggests
- knitr * suggests
- plotly * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v2 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action v4.4.1 composite
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml
actions
- actions/checkout v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/lint.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite