Package to implement horizontal line plots for categorical (ordinal or nominal) longitudinal or time-series data. This is done by mapping individuals to the vertical space (each horizontal line represents a participant), time (or repeated measures) to the horizontal space, categorical (or discrete) states as facets using color or shade, and events to points. Sorting individuals in the vertical space can reveal patterns in changes over time.
Example usage is
y is a matrix or data frame in wide format with participants in rows and repeated observations in columns. The function
longCat returns an object of class
longCat which can be plotted using
longCatPlot. Options for sorting and/or stratifying by groups are implemented using
sorter which returns a sorted and/or stratified object of class
Maintainer: Stephen Tueller <firstname.lastname@example.org>
Tueller, S. J., Van Dorn, R. A., & Bobashev, G. V. (2016). Visualization of categorical longitudinal and times series data (Report No. MR-0033-1602). Research Triangle Park, NC: RTI Press. http://www.rti.org/publication/visualization-categorical-longitudinal-and-times-series-data
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.