Skip to content

Commit

Permalink
Update to mice 3.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stefvanbuuren committed Jul 19, 2023
1 parent 87073f8 commit 8022c6f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: mice
Type: Package
Version: 3.16.0
Version: 3.16.1
Title: Multivariate Imputation by Chained Equations
Date: 2023-05-24
Date: 2023-07-19
Authors@R: c(person("Stef", "van Buuren", role = c("aut","cre"),
email = "stef.vanbuuren@tno.nl"),
person("Karin", "Groothuis-Oudshoorn", role = "aut",
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# mice 3.16.1

* Adds support for the `dots` argument to `ranger::ranger(...)` in `mice.impute.rf()` (#563). Contributed @edbonneville

# mice 3.16.0

### Major changes
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ options(width = 60, digits = 3)
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/mice)](https://cran.r-project.org/package=mice)
[![](https://cranlogs.r-pkg.org/badges/mice)](https://cran.r-project.org/package=mice)
[![R-CMD-check](https://github.com/amices/mice/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/amices/mice/actions/workflows/R-CMD-check.yaml)
[![](https://img.shields.io/badge/github%20version-3.16.0-orange.svg)](https://amices.org/mice/)
[![](https://img.shields.io/badge/github%20version-3.16.1-orange.svg)](https://amices.org/mice/)
<!-- badges: end -->

## [Multivariate Imputation by Chained Equations](https://amices.org/mice/)
Expand Down
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/mice)](https://cran.r-project.org/package=mice)
[![](https://cranlogs.r-pkg.org/badges/mice)](https://cran.r-project.org/package=mice)
[![R-CMD-check](https://github.com/amices/mice/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/amices/mice/actions/workflows/R-CMD-check.yaml)
[![](https://img.shields.io/badge/github%20version-3.16.0-orange.svg)](https://amices.org/mice/)
[![](https://img.shields.io/badge/github%20version-3.16.1-orange.svg)](https://amices.org/mice/)
<!-- badges: end -->

## [Multivariate Imputation by Chained Equations](https://amices.org/mice/)
Expand Down Expand Up @@ -47,8 +47,12 @@ library(mice, warn.conflicts = FALSE)
md.pattern(nhanes)
```

![Missing data pattern of `nhanes` data. Blue is observed, red is
missing.](man/figures/README-pattern-1.png)
<figure>
<img src="man/figures/README-pattern-1.png"
alt="Missing data pattern of nhanes data. Blue is observed, red is missing." />
<figcaption aria-hidden="true">Missing data pattern of
<code>nhanes</code> data. Blue is observed, red is missing.</figcaption>
</figure>

#> age hyp bmi chl
#> 13 1 1 1 1 0
Expand All @@ -75,8 +79,12 @@ imp <- mice(nhanes, maxit = 2, m = 2, seed = 1)
stripplot(imp, chl, pch = 19, xlab = "Imputation number")
```

![Distribution of `chl` per imputed data
set.](man/figures/README-stripplot-1.png)
<figure>
<img src="man/figures/README-stripplot-1.png"
alt="Distribution of chl per imputed data set." />
<figcaption aria-hidden="true">Distribution of <code>chl</code> per
imputed data set.</figcaption>
</figure>

In general, we would like the imputations to be plausible, i.e., values
that could have been observed if they had not been missing.
Expand Down

0 comments on commit 8022c6f

Please sign in to comment.