seq2qha

0th

Percentile

Recoding sequences for qualitative harmonic analysis

Recodes sequence data into the shape used for qualitative harmonic analysis.

Keywords
state sequences, Longitudinal characteristics
Usage
seq2qha(seqdata, periods)
Arguments
seqdata

a sequence object (see seqdef function).

periods

numeric vector of the first positions of the periods used for recoding

Value

A data frame with one column by combination of period and state (i.e. number of columns = number of periods * number of states in the alphabet).

References

Robette N., Thibault N. (2008). Comparing qualitative harmonic analysis and optimal matching. An exploratory study of occupational trajectories, Population-E, Vol. 64(3), 533-556. Deville J-C. (1982). Analyse de donn<U+00E9>es chronologiques qualitatives: comment analyser des calendriers ?, Annales de l<U+2019>INSEE, 45, 45-104. Deville J-C., Saporta G. (1980). Analyse harmonique qualitative, in Data analysis and informatics, E.Diday (ed.), Amsterdam, North Holland Publishing, 375-389.

Aliases
  • seq2qha
Examples
# NOT RUN {
data(trajact)
seqact <- seqdef(trajact)
qha <- seq2qha(seqact, periods=c(1,3,7,12,24))
head(qha)
# }
Documentation reproduced from package seqhandbook, version 0.1.0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.