I'm trying to create a plot similar to a Sankey plot but not with frequencies but with each case separately: I want to reorder each element from x-axis individually and connect each dot from the same case.
That's what I'm doing and getting...
> data <- source("https://pastebin.com/raw/rPaaMvpb")$value
> ggplot(data, aes(variable, reorder(SubjID, value), color = factor(value), group = SubjID)) +
geom_point() + geom_line()
... but something like this is I'd like:
Any help, please? Thanks a lot.