Skip to content

Number of decimals in process_map() #28

@bjornafugglas

Description

@bjornafugglas

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")
)

image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions