darwin-eu-dev / DrugUtilisation

https://darwin-eu-dev.github.io/DrugUtilisation/
Apache License 2.0
4 stars 1 forks source link

plot for dailydoseCoverage() #458

Closed tiozab closed 4 months ago

tiozab commented 4 months ago

@MimiYuchenGuo, we talked about plots of summarised results and you said to open an issue about what we would like:

we would like a plot for summarised results of dailyDoseCoverage() that shows the distribution of the daily dose by strata_name (faceted). Of course this needs deleting rows mean, sd, count, count_missing, percentage_missing of the summarised results. Thus the x variable would be estimate_name and the y variable would be the estimate.

@catalamarti you decide where (in which package this shall live). We would use this plot for the diagnostics of dose in the DED shiny. Or let us know if we shall do ourselves it because it is a niche use. @ginberg

tiozab commented 4 months ago

the summarised result is a "omopgenerics::newSummarisedResult"