AmyM
AmyM
@cderv yes, it seems that the problem is Microsoft Word itself does not have a facility to supress individual headers from the TOC. Instead I removed the hash tag from...
> @AmyMikhail did you have a look at the `reclin2` package (https://github.com/djvanderlaan/reclin2)? That package (by me) is designed to handle cases like yours. Thanks @djvanderlaan - I had not come...
Another way of doing this is to modify the call to `aes()` and add groupings based on the individual row number in the `data.frame`. We start with a function that...
Fixed the stack order problem - just needed to do `fct_reorder()` inside the `group` argument: ```r geom_squares
Another edit - this one needed as previous code did not work for some character vectors. Converting to a factor and then as.numeric makes the sorting of the stacks work...
Per recent discussions: **Problem statement:** Function to add squares to an existing histogram representing individual or *N* cases - often requested to replicate the epicurve shown at the top of...
**Converting function to ggplot2 layer:** As explained [here](https://cran.r-project.org/web/packages/ggplot2/vignettes/extending-ggplot2.html) this requires two steps: 1. Create a ggprotto object - this is where the function itself goes and required `aes` are selected....