This is my code to render a sankey graph
g1 <- sankeyNetwork(Links = mydata, Nodes = temp, Source = "C1",
Target = "C2", NodeID = "stage" , Value = "count", units = "")
g1
[note: mydata$count is the number of people in each node or intersection)
the data sources are:
head(mydata)
C1 C2 count
1 1 6 552
2 1 7 631
3 1 8 78
4 1 9 21
5 1 10 258
6 1 11 497
and
head(temp)
stage
1 Florida-North
2 Florida-South
3 Foot Print-Foot Print
4 Out of Foot Print-Out of Foot Print
5 Texas-Houston
6 Coral Springs
and I got nothing in return in the plot tab?
Anyone that can help me figure out?