Dianne Cook

Results 44 comments of Dianne Cook

Simply the id would be good. > On 17 Feb 2022, at 1:00 pm, Nicholas Tierney ***@***.***> wrote: > > > Thanks, Di! > > What sort of text would...

Can this be done using a regular facet? (facet_wrap, facet_grid) Because it seems it should generally be an argument for these functions too. I just found an example, its messy,...

I think facet_strata() might do it to plot the result. But you’d like sample to do similarly, I think Sent from my iPhone > On 1 Nov 2020, at 9:25...

Oh, I think it is simply that brolgar assumes unique keys. Similarly, tsibble is also assuming unique keys. You need to use tibble/dplyr: group_by(your_character_variable) %>% sample_n() Think of your variable...

Oh, nope, its something not working in sample_n_keys(), eg wages %>% group_by(black) %>% sample_n_keys(2) ignores the group_by

I think that is a good idea, actually the convention recommended when you have a missng value for a categorical variable. Encode it as an additional category. > On 21...

imputed should be a stat, not a geom, if it is to be included with ggplot

stat_impute doesn't work for me with the current naniar, but that is ok. I get the gist of it. colour should be associated with geom_density, and it should be mapped...

Nick, it should be possible to do the logical operations on the two shadow variables, so that you can take the union, intersection, ... and colour by that.

having a function to compute logical operations on the binary shadow matrix variables would be handy. you should be able to capture: any_missing==union, all_missing==intersection, ... I like how you have...