bruigtp / flowchart

flowchart is an R package for drawing participant flow diagrams directly from a dataframe using tidyverse.
https://bruigtp.github.io/flowchart/
Other
37 stars 2 forks source link

Compute percentages from total and not only from parent leaf #11

Open tvroylandt opened 1 month ago

tvroylandt commented 1 month ago

Hi,

Thanks for the great package I've discovered at useR !

Would it be possible to add a feature so that percentages would be computed with the total number at the beginning of the flowchart and not only from the parent leaf ?

Thank you !

pasahe commented 1 month ago

Hi @tvroylandt,

I am very glad that you liked the presentation at useR and that you find this package useful.

It's a very good idea and it would be a very nice feature to add in the next release of the package. We will add it as a new argument available to the fc_filter() and fc_split() functions.

Thanks for the feedback!