Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

longCatEDA-package

Plot Categorical Longitudinal and Time-Series Data


Description

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.

Details

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.

Author(s)

Stephen Tueller

Maintainer: Stephen Tueller <stueller@rti.org>

References

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

Examples

par(bg='cornsilk3')
longCatPlot( longCat( example3 ) )
par(bg='transparent')

longCatEDA

Package for Plotting Categorical Longitudinal and Time-Series Data

v0.31
GPL (>= 3)
Authors
Stephen Tueller. Funded by the National Institute on Drug Abuse (NIDA) Award number 1R03DA030850, the National Institute on Alcohol Abuse and Alcoholism (NIAAA) Award Number R03 AA019775, and the National Institute of Justice Award Number 2011-RY-BX-0003.
Initial release
2017-03-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.