-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels