str.seqe {TraMineR} | R Documentation |
Return a string representation of an event sequence object. This work on sequence or subsequences as well.
This is an overiding of the usual corresponding function (str
and as.character
)
The string have the following form:
time-(e1,e2,...)-elapsedtime-(e2,...)...
Where time is the time elapsed from previous set of events and (e1,e2,...) a non empty list of simultaneous events.
This function also work on list.
You will mainly used str.seqelist
wich a return a single string for a whole list, and as.character.seqelist
which return a vector of string.
str.seqe
and as.character.seqe
have mainly an internal purpose (there are called by print and more).
seqecreate
for a full example
data(actcal.tse) actcal.seqe <- seqecreate(actcal.tse) as.character(actcal.seqe)