Hanne Oberman
Hanne Oberman
Opties voor ggmice - if(check_df en check_mids) {als error, then `ggmice` requires df or mids`} - use `inherits()` en `any()`
Missingness proportion could be displayed on the right hand second y axis, like VIM(?) does.
Add functionality to merge plots to see overlap/differences
Look up 'next generation clustered heatmap'
@pepijnvink I've added the axis ticks for the top and bottom rows in the figure
I believe that a better solution would be https://rlang.r-lib.org/reference/arg_match.html
Maybe using `tryCatch` could work: - check if argument input is of type `data.frame`, - if not, catch error and check if argument input is of type `mids`, - if...
Your solution does work, only the axis ticks are overlapping. Use this to remove: ``` r ggmice::plot_pattern(data.frame(rbind(rep(NA, 100), 1:100)), grid = FALSE) + ggplot2::scale_x_discrete(breaks = 0) ```
Fixed in #80 ``` r library(mice) #> #> Attaching package: 'mice' #> The following object is masked from 'package:stats': #> #> filter #> The following objects are masked from 'package:base':...
Reprex: ``` r plot_groups