Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion for improvement #8

Open
krijkamp opened this issue Apr 29, 2024 · 0 comments
Open

Suggestion for improvement #8

krijkamp opened this issue Apr 29, 2024 · 0 comments

Comments

@krijkamp
Copy link
Contributor

The current image of the Tornado plot shows the parameter names as coded in R on the y-axis. However, for publication it is nicer to have a description of the parameter.

Therefore, an option to rename the parameter for plotting would be a nice addition.

Something like this:

Consider your structure of the owsa_nbm has in the parameter column the following items

owsa_nmb

c_trtA
c_S
c_TrtB

library(dplyr)

you like to rename them

owsa_nmb <- owsa_nmb %>%
mutate(parameter = recode(parameter,
"c_trtA" = "Treatment A",
"c_trtB" = "Treatment B",
"c_S" = "Costs Sick"))

owsa_nmb$parameter

Or having a option: parameter description, where the way to mutate the parameter name is added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant