Plots static and dynamic state structure from the outcome of seqemlt. Two types of plot are proposed: The evolution in time of the correlation between states, and the projection of situations (time-indexed states) on their principal planes.
# S3 method for emlt
plot(x, from, to, delay=NULL, leg=TRUE, type="cor", cex=0.7, compx=1, compy=2, ...)
an object of class emlt as produced by seqemlt
character string: type of plot to be drawn. Possible types are
"cor" for the evolution in time of the correlation between states, and
"pca" for the projection of states/situations on their principal planes
vector of state labels: for type "cor", origin state(s) to be considered.
state label: for type "cor", destination state.
for type "cor", the delay (number of time periods) between "from" and "to" arguments. The correlation between state "from" at time t and "to" at t+delay. By default delay is 0.
integer: for type "pca" first component, axis x
integer: for type "pca" second component, axis y
logical: should the legend be included
numerical value: amount by which plotting text and symbols should be magnified relative to the default.
Arguments to be passed to methods, such as graphical parameters (see par)
Patrick Rousset and Matthias Studer
The evolution of the correlation reveals the evolution of the emlt Euclidean distance between the situations (time-indexed states) along the timeframe.
The "pca" components are the principal components of the emlt numerical coordinates of the sequences, see seqemlt.
See also seqemlt (with examples)
## See examples on 'seqemlt' help page
Run the code above in your browser using DataLab