You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am just getting started with bupaR so still have a lot to learn, but I can't find if it possible to change the number of decimals in the numbers showing in the process map created by process_map()? Or at least set number of decimals equal for the entire process map.
For my use case I would like to show all information rounded to 0 decimals, currently it is mixed between 1 and 2 decimals as you can see in the image.
The text was updated successfully, but these errors were encountered:
Small addition: for performance;: as you can specify any aggregation function, this can be done without changes. You just have to define a "rounded mean" function,, for example
However, this is not possible for frequency values, as in the example. For this a change of the code would be needed indeed. Probably an argument in the frequency() functio to configure this would be the way to go.
(Side note: the fact that it is mixed has to do with the second decimal being zero, would be my guess.)
Hi!
Thank you for a fantastic package!
I am just getting started with bupaR so still have a lot to learn, but I can't find if it possible to change the number of decimals in the numbers showing in the process map created by process_map()? Or at least set number of decimals equal for the entire process map.
See example:
patients %>% process_map(
type_nodes = frequency("absolute_case"),
sec_nodes = frequency("relative_case"),
type_edges = frequency("relative_case"),
sec_edges = performance(median, "mins")
)
For my use case I would like to show all information rounded to 0 decimals, currently it is mixed between 1 and 2 decimals as you can see in the image.
The text was updated successfully, but these errors were encountered: