Dear Matthias,<br><br>thank you for having answered very quickly. Rev. is not set to 194 yet but I think your explanations and the R code will help me a lot.<br><br>Thank you again,<br><br>Hugo<br><br><br><div class="gmail_quote">
Le 16 mars 2012 17:21, Matthias Studer <span dir="ltr"><<a href="mailto:Matthias.Studer@unige.ch">Matthias.Studer@unige.ch</a>></span> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Dear Hugo,<br>
<br>
Thank you for your question. Unfortunately, the function was not
publicly released and that's why you didn't found it. So please
apologize for this. I have now added it to TraMineRextras . As you
may find on the R-forge page
(<a href="http://r-forge.r-project.org/forum/forum.php?forum_id=4296" target="_blank">http://r-forge.r-project.org/forum/forum.php?forum_id=4296</a>), "This
package provides functions that haven't been integrated into
TraMineR either because they do not completely comply with the
TraMineR logic and homogeneity requirements or because they need
further testing".<br>
<br>
You may install this package using the following command. You may
need to wait 24 hours before the new version of the package is
available (you may check here
<a href="https://r-forge.r-project.org/R/?group_id=743" target="_blank">https://r-forge.r-project.org/R/?group_id=743</a> if Rev. is set to
194, it's OK).<br>
<br>
install.packages("TraMineRextras",
repos=<a href="http://R-Forge.R-project.org" target="_blank">"http://R-Forge.R-project.org"</a>)<br>
<br>
The function to compute distance between event sequence is
"seqedist" and the function to represent graphically a set of event
sequence is called seqedplot.<br>
<br>
Here is a short example. <br>
<br>
library(TraMineRextras)<br>
library(cluster)<br>
data(actcal.tse)<br>
<br>
data(actcal.tse)<br>
actcal.seqe <- seqecreate(actcal.tse)<br>
## We have 8 different event in this dataset<br>
## We set indel cost of an event to 1 and v param to 0.1<br>
idcost <- rep(1, 8)<br>
dd <- seqedist(actcal.seqe, idcost=idcost, vparam=.1)<br>
<br>
## These events sequences are mainly stationnary... <br>
cluster10 <- pam(dd, diss=TRUE, k=10, cluster.only=TRUE)<br>
seqedplot(actcal.seqe, group=cluster10, type="hazard", breaks=6)<br>
<br>
<br>
Hope this helps.<br>
Matthias Studer<br>
<br>
Le 16.03.2012 10:45, Hugo Varet a écrit :
<blockquote type="cite">Dear all,<br>
<br>
I read with interest the paper from Matthias Studer entitled
"Classer, discriminer et visualiser des séquences d’événements"
and I discovered I could use exactly the same methods for my
study. He said in his paper that all fonctions can be found in the
TraMineR package. Unfortunately, I did not find them in the
package: I understand how to build homogeneous groups of indivuals
from state sequences but not from event sequences (TSE format).<br>
<br>
Could anybody indicate me the names of the functions I am looking
for ?<br>
<br>
Thank you very much, best regards,<br>
<br>
Hugo<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Traminer-users mailing list
<a href="mailto:Traminer-users@lists.r-forge.r-project.org" target="_blank">Traminer-users@lists.r-forge.r-project.org</a>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users</a>
</pre>
</blockquote>
<br>
<div>
<div title="Cliquer pour traduire"></div>
</div>
</div>
<br>_______________________________________________<br>
Traminer-users mailing list<br>
<a href="mailto:Traminer-users@lists.r-forge.r-project.org">Traminer-users@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users</a><br></blockquote></div><br>