Learn R Programming

longCatEDA (version 0.13)

dimCheck: Function to Check the Dimensions of Inputs to longCat

Description

Function for checking the dimensions of y and times and returning a logical indicator indTime of whether individually varying times of observation were detected. Used internally by longCat, though it may be called by the user.

Usage

dimCheck(y, times)

Arguments

y
a data matrix or data frame in wide (as opposed to long) format with cases in rows and repeated observations in columns. At most, y can have 9 unique non-missing values.
times
time points used for the x-axis in plotting. Either a vector of the same length as the number of columns in y (i.e., all cases have the same times of observation), or a matrix of the same dimension as y (i.e., individually varyin

References

Tueller, S. J., Van Dorn, R. A., and Bobashev, G. V. (2013). Visualization of Categorical Longitudinal and Times Series Data. Manuscript Under Review.

See Also

longCat.