<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
This might be a stupid question, but an error message pops up in the
console when I try to create a sequence object :
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Arial; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: auto; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
font-size: medium; "><span class="Apple-style-span"
style="font-family: 'Lucida Console'; font-size: 13px;
line-height: 15px; text-align: -webkit-left; white-space:
pre-wrap; ">
<pre tabindex="0" class="GJWPQFQDK4" style="font-family: 'Lucida Console'; font-size: 10pt ! important; outline-style: none; border-style: none; white-space: pre-wrap ! important; margin: 0px; line-height: 1.2;"><span class="GJWPQFQDF4">Erreur : [!] found one or more spell with starting time < 1
</span></pre>
<pre tabindex="0" class="GJWPQFQDK4" style="font-family: 'Lucida Console'; font-size: 10pt ! important; outline-style: none; border-style: none; white-space: pre-wrap ! important; margin: 0px; line-height: 1.2;"><span class="GJWPQFQDF4">Here is the code:</span>
<span class="GJWPQFQDF4"></span></pre>
<span class="GJWPQFQDF4">LA.sts <- seqformat(trajpro,
id="IDENT", begin="P_AGDEB", end="P_AGFIN", status="traj.cs",
from="SPELL", to="STS", process=FALSE)<br>
<br>
And the summary of the begin and end variables;<br>
</span>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Arial; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2; text-align: auto;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; "><span class="Apple-style-span"
style="font-family: 'Lucida Console'; font-size: 13px;
line-height: 15px; text-align: -webkit-left; white-space:
pre-wrap; ">
<pre tabindex="0" class="GJWPQFQDK4" style="font-family: 'Lucida Console'; font-size: 10pt !important; outline-style: none; outline-width: initial; outline-color: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; white-space: pre-wrap !important; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 1.2; "><span class="GJWPQFQDB4 ace_keyword" style="color: blue; ">summary(trajpro$P_ANDEB)
</span> Min. 1st Qu. Median Mean 3rd Qu. Max.
1948 1976 1989 1987 2000 2009
<span class="GJWPQFQDN4 ace_keyword" style="white-space: pre; color: blue; ">> </span><span class="GJWPQFQDB4 ace_keyword" style="color: blue; ">summary(trajpro$P_ANFIN)
</span> Min. 1st Qu. Median Mean 3rd Qu. Max.
1948 1992 2003 1999 2008 2009
It seems that there is no missing value.
The dataset is Ined Trajectoires et Origines (TeO). I suspect that the problem comes from the way trajectories where coded: when one individual spends less than one year in a particular state, begin and end years are the same. So spell=0...
Am I right? Does it imply that I have to recode the whole dataset?
Thanks in advance for your help.
Regards,
Anton Perdoncin
</pre>
</span></span><br>
</span></span>
</body>
</html>