Description Details Author(s) References Examples
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.
Package: | longCatEDA |
Type: | Package |
Version: | 0.31 |
Date: | 29Oct2016 |
License: | GNU GPL |
Depends: | methods |
Example usage is longCatPlot
(longCat
(y)) where 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 longCat
.
Stephen Tueller
Maintainer: Stephen Tueller <stueller@rti.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 | par(bg='cornsilk3')
longCatPlot( longCat( example3 ) )
par(bg='transparent')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.