SurveySankey | R Documentation |
The purpose of the function is to provide a Sankey plot which allows the analyst to see the proportion of patients moving from one state (in this case type of Procedure) to another. This allows us to see for example how many EMRs are done after RFA.
SurveySankey(dfw, ProcPerformedColumn, PatientID)
dfw |
the dataframe extracted using the standard cleanup scripts |
ProcPerformedColumn |
the column containing the test like P rocPerformed for example |
PatientID |
the column containing the patients unique identifier eg hostpital number |
Other Patient Flow functions:
PatientFlowIndividual()
names(Myendo)[names(Myendo) == "HospitalNumber"] <- "PatientID" gg <- SurveySankey(Myendo, "ProcedurePerformed", "PatientID")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.