<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.hoenzb
{mso-style-name:hoenzb;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-CH" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">This may be a bug, but it’s very hard to find it the data. Could you send me the data (on my private mail, rather than on the list) or, best,
try to build a small working example (less than ten sequences that reproduce the error message)?
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks for your report!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Matthias<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> traminer-users-bounces@lists.r-forge.r-project.org [mailto:traminer-users-bounces@lists.r-forge.r-project.org]
<b>De la part de</b> Denis Colombi<br>
<b>Envoyé :</b> mercredi 3 juillet 2013 07:40<br>
<b>À :</b> traminer-users@lists.r-forge.r-project.org<br>
<b>Objet :</b> [Traminer-users] Fwd: Problem with seqecreate<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi, <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I'm trying to use the seqecreate function to transform a state sequence object in a event sequence object, but it return this message :
<br>
<br>
"Erreur dans if (<a href="http://has.nr" target="_blank">has.nr</a>) { : valeur manquante là où TRUE / FALSE est requis"<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">The code is : <br>
<br>
R> head(Pays_Occup.test)<br>
Sequence
<br>
8 1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut<br>
16 1_Aut-1_Aut-2_Aut-2_Aut-2_Aut-2_Aut-2_Aut-2_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut<br>
17 2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm-2_HFm<br>
18 1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut<br>
20 1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Aut-1_Emp-1_Emp<br>
22 2_Aut-2_Aut-2_Aut-2_Aut-2_Aut-2_Aut-2_Aut-2_Aut-2_Aut-2_Aut-2_Aut-2_Aut-2_Aut-2_Aut-1_Aut-1_Aut-1_Aut-1_Emp-1_Emp-1_Aut<br>
<br>
R>Pays_Occup.test.ev <- seqecreate(Pays_Occup.test, tevent="state")<br>
Erreur dans if (<a href="http://has.nr" target="_blank">has.nr</a>) { : valeur manquante là où TRUE / FALSE est requis<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">It function with no problem in an other script with different data.
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Is there something missing in the seqecreate function ? <br>
<br>
Thanks,<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:#888888"><br>
-- <br>
Denis Colombi<br>
<a href="http://www.cso.edu/cv_equipe.asp?per_id=166" target="_blank">Doctorant au CSO</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br clear="all">
<br>
-- <br>
Denis Colombi<br>
<a href="http://www.cso.edu/cv_equipe.asp?per_id=166" target="_blank">Doctorant au CSO</a><o:p></o:p></p>
</div>
</div>
</body>
</html>