norpt: A function to take out repeated observations in a vector of...

Description Usage Arguments Value Author(s) References See Also Examples

Description

See the example.

Usage

1
norpt(alist = c(1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5))

Arguments

alist

Value

A vector excluding repeated values with trailing NA's to fill the vector to original length.

Author(s)

Stephen Tueller

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

See Also

igrpt input to makePatterns

Examples

1
2
(alist = c(1,2,2,3,3,3,4,4,4,4,5))
norpt(alist)

longCatEDA documentation built on May 2, 2019, 7:33 a.m.