Skip to content

specify fixed positions #26

@kkmann

Description

@kkmann

Hi,

first of all, thanks for putting this package together - very useful indeed!

I was running into problems with specifying fixed positions for my layout, see below:

library(tidyverse)
library(bupaR)

tbl_pos <- tribble(
                       ~act, ~x, ~y,
               "Blood test",  1,  1,           
                "Check-out",  2,  1,           
          "Discuss Results",  3,  1,     
                 "MRI SCAN",  4,  1,   
             "Registration",  5,  1,  
    "Triage and Assessment",  6,  1,
                    "X-Ray",  7,  1
)

patients %>% 
    process_map(
        layout = layout_pm(
            fixed_positions = tbl_pos
        )
    )

this gives me

Error: node 2, position ,!, expected two doubles

in the Rstudio Viewer. I also tried to turn tbl_pos into a data.frame without any effect. Any ideas what the problem might be and how to fix it?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions