Skip to content

Commit

Permalink
Revert plot_variance() to concept
Browse files Browse the repository at this point in the history
Move the function to separate branch for further development (as discussed in the MICE meeting) before submission to CRAN
  • Loading branch information
hanneoberman committed Aug 7, 2023
1 parent b861dbf commit 6ebf7f5
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 136 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export(plot_flux)
export(plot_pattern)
export(plot_pred)
export(plot_trace)
export(plot_variance)
export(stripplot)
export(xyplot)
importFrom(magrittr,"%>%")
Expand Down
1 change: 0 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

## New features

* New plotting function `plot_variance()` visualizes post-imputation variability (#56)
* New optional argument `plot_pred()` shows methods vector with predictor matrix plot (#71)
* New optional argument `plot_pattern()` hides less frequent patterns (#77)
* New optional argument `plot_pattern()` hides legend caption (#111)
Expand Down
84 changes: 0 additions & 84 deletions R/plot_variance.R

This file was deleted.

29 changes: 0 additions & 29 deletions man/plot_variance.Rd

This file was deleted.

13 changes: 0 additions & 13 deletions tests/testthat/test-plot_variance.R

This file was deleted.

8 changes: 0 additions & 8 deletions vignettes/ggmice.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -281,14 +281,6 @@ The function `plot_trace()` plots the trace lines of the MICE algorithm for conv
plot_trace(imp, "hgt")
```

## Between-imputation variance

The function `plot_variance()` visualizes the cell-level between-imputation variance as a heatmap. The color of the tiles in the plot represent the scaled between-imputation variance for the imputed cells in the data. The `data` argument requires an object of class `mice::mids`.

```{r variance}
# create heatmap of between-imputation variance
plot_variance(imp)
```

---

Expand Down

0 comments on commit 6ebf7f5

Please sign in to comment.