This function performs data manipulation and path interpolation of the categorized data. This includes additional data components for labeling and shading.
kangaroo_data(data, time_dependent = FALSE, height = 0.6, width = 50L)
An object contained the modified data with additional data components.
The categorized data.
Logical. Should the visualization be time-dependent? The default is FALSE.
The proportion the point takes in the shaded area.
The number that controls the runif_max to specify how far apart each point is.
The function takes the categorized data and interpolates the path for each observation. Additionally, the label and shading data are created.
Recreate - Sankey flow chart. (n.d.). Emil Hvitfeldt. Retrieved April 13, 2023, from https://www.emilhvitfeldt.com/post/2018-03-20-recreate-sankey-flow-chart/