plot.emlt: Emlt Plots

View source: R/seqemlt.R

plot.emltR Documentation

Emlt Plots

Description

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.

Usage

## S3 method for class 'emlt'
plot(x, from, to, delay=NULL, leg=TRUE, type="cor", cex=0.7, compx=1, compy=2, ...)

Arguments

x

an object of class emlt as produced by seqemlt

type

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

from

vector of state labels: for type "cor", origin state(s) to be considered.

to

state label: for type "cor", destination state.

delay

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.

compx

integer: for type "pca" first component, axis x

compy

integer: for type "pca" second component, axis y

leg

logical: should the legend be included

cex

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)

Details

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.

Author(s)

Patrick Rousset and Matthias Studer

See Also

See also seqemlt (with examples)

Examples

## See examples on 'seqemlt' help page

TraMineRextras documentation built on March 7, 2023, 5:54 p.m.