Generates a network graph of the flows from population groups, to conditions, to treatments, as generated by the model.
create_graph( model_output, groups = unique(model_output$group), conditions = unique(model_output$condition), treatments = unique(model_output$treatment) )
model_output | output from |
---|---|
groups | a vector of population groups to include in the graph, defaults to all groups |
conditions | a vector of conditions to include in the graph, defaults to all conditions |
treatments | a vector of treatments to include in the graph, defaults to all treatments |
a plotly chart