adayim / consort

Create CONSORT diagrams for clinical studies.
Other
31 stars 4 forks source link

Factor variables for allocation #20

Closed jackahall closed 4 months ago

jackahall commented 7 months ago

Currently, it seems that the allocation variable in consort_plot must be a character, but we usually code these variables as factors. It can be converted first using as.character, but this loses the ordering of the variable.

adayim commented 6 months ago

Thank you for pointing this out, I will fix this.

adayim commented 5 months ago

Hi, sorry. I don't think I can replicate this. Can you give me an example so I can test this?