I'm trying to work out a bit of code someone has given me. If someone could help explain whats going on I'd be grateful.
data %>% process_map(type_nodes = processmapR::frequency("relative_case"),type_edges = processmapR::performance(mean, units = "hours"))
I haven't been allowed to share the raw data for this graph unfortunately.
I have tried adding up the times for a case to to transition between Start and Node 1 or Node 2 or Node 3 to see if its an average value, but it doesn't appear to be.
From bupaR doco:
"relative_case - percentage of cases the activity occurs in." But I would have expected a % figure ( like 0.4 ), but instead have whole numbers. And if it is a percentage displayed in whole numbers, how do you find the enumerator?
I've spent hours on this and don't seem to have got any further. The doco unfortunately is a bit sparse.