<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Traminer's users, <br>
<div class="moz-forward-container"> <br>
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: 'Lucida Console'; font-size:
13px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 15px; orphans: 2;
text-align: -webkit-left; text-indent: 0px; text-transform:
none; white-space: pre-wrap; 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;
background-color: rgb(225, 226, 229); ">
<pre tabindex="0" class="GEWYW5YBFEB" id="rstudio_console_output" 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; word-break: break-all; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; -webkit-user-select: text; line-height: 1.2; ">I guess my question is typically the one of a begginer on Traminer. I've been collecting a list of stays that some people did in a hospital. The beginning and end dates of each stay are rather precise (dd/mm/yyyy) and I'd like to stick to that precision for the moment. Although, in the user's guide and the Traminer's mailing list I couldn't find any example where the beginning and the end of the spell are written in a date format (not just as a year). I supp
os
e Traminer do not support the date format. Every time I try to define a sequence object I receive this message :
> SEJ.seq <- seqdef(sej, id="ID", begin="entree", end="sortie", status="sejour_type", fillblanks=NA, informat="SPELL", states=sej.states, labels=sej.labels, process=FALSE)
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Console'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 15px; orphans: 2; text-align: -webkit-left; text-indent: 0px; text-transform: none; white-space: pre-wrap; 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; background-color: rgb(225, 226, 229); "><pre tabindex="0" class="GEWYW5YBFEB" id="rstudio_console_output" 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; word-break: break-a
ll; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; -webkit-user-select: text; line-height: 1.2; "><span class="GEWYW5YBAEB ace_constant" style="color: rgb(197, 6, 11); ">Error in Summary.factor(c(NA_integer_, NA_integer_, NA_integer_, NA_integer_, :
min not meaningful for factors
</span><span class="GEWYW5YBAEB ace_constant" style="color: rgb(197, 6, 11); ">In addition: </span><span class="GEWYW5YBAEB ace_constant" style="color: rgb(197, 6, 11); ">Warning messages:
</span><span class="GEWYW5YBAEB ace_constant" style="color: rgb(197, 6, 11); ">1: In Ops.factor(begincolumn, 1) : < not meaningful for factors
</span><span class="GEWYW5YBAEB ace_constant" style="color: rgb(197, 6, 11); ">2: In Ops.factor(endcolumn, begincolumn) : - not meaningful for factors
</span><span class="GEWYW5YBAEB ace_constant" style="color: rgb(197, 6, 11); ">3: In Ops.factor(begincolumn, 0) : > not meaningful for factors</span></pre></span>
Here is a sample of my data :
</pre>
</span>
<table style="border-collapse: collapse;width:240pt" border="0"
cellpadding="0" cellspacing="0" width="320">
<colgroup><col style="width:60pt" span="4" width="80"> </colgroup><tbody>
<tr style="height:15.0pt" height="20">
<td class="xl65" style="height:15.0pt;width:60pt"
align="center" height="20" width="80"><b>ID</b></td>
<td class="xl65" style="width:60pt" align="center"
width="80"><b>sejour_type</b></td>
<td class="xl65" style="width:60pt" align="center"
width="80"><b>entree</b></td>
<td class="xl65" style="width:60pt" align="center"
width="80"><b>sortie</b></td>
</tr>
<tr style="height:15.0pt" height="20">
<td class="xl63" style="height:15.0pt; width:60pt"
align="center" height="20" width="80">1</td>
<td class="xl63" style="width:60pt" align="center"
width="80">Temps plein</td>
<td class="xl64" style="width:60pt" align="center"
width="80">06/06/2013</td>
<td class="xl64" style="width:60pt" align="center"
width="80">19/03/2014</td>
</tr>
<tr style="height:15.0pt" height="20">
<td class="xl63" style="height:15.0pt; width:60pt"
align="center" height="20" width="80">1</td>
<td class="xl63" style="width:60pt" align="center"
width="80">Temps plein</td>
<td class="xl64" style="width:60pt" align="center"
width="80">10/05/2010</td>
<td class="xl64" style="width:60pt" align="center"
width="80">16/05/2013</td>
</tr>
<tr style="height:15.0pt" height="20">
<td class="xl63" style="height:15.0pt; width:60pt"
align="center" height="20" width="80">2</td>
<td class="xl63" style="width:60pt" align="center"
width="80">Temps plein</td>
<td class="xl64" style="width:60pt" align="center"
width="80">19/01/2012</td>
<td class="xl64" style="width:60pt" align="center"
width="80">27/01/2012</td>
</tr>
<tr style="height:15.0pt" height="20">
<td class="xl63" style="height:15.0pt; width:60pt"
align="center" height="20" width="80">2</td>
<td class="xl63" style="width:60pt" align="center"
width="80">Temps plein</td>
<td class="xl64" style="width:60pt" align="center"
width="80">01/02/2011</td>
<td class="xl64" style="width:60pt" align="center"
width="80">04/08/2011</td>
</tr>
<tr style="height:15.0pt" height="20">
<td class="xl63" style="height:15.0pt; width:60pt"
align="center" height="20" width="80">3</td>
<td class="xl63" style="width:60pt" align="center"
width="80">Temps plein</td>
<td class="xl64" style="width:60pt" align="center"
width="80">21/02/2013</td>
<td class="xl64" style="width:60pt" align="center"
width="80">19/03/2014</td>
</tr>
<tr style="height:25.5pt" height="34">
<td class="xl66" style="height:25.5pt; width:60pt"
align="center" height="34" width="80">7</td>
<td class="xl66" style="width:60pt" align="center"
width="80">Hôpital de jour</td>
<td class="xl67" style="width:60pt" align="center"
width="80">18/09/2014</td>
<td class="xl67" style="width:60pt" align="center"
width="80">12/11/2014</td>
</tr>
</tbody>
</table>
<br>
Am I right thinking that the date format is the problem or does it
rely somewhere else ? <br>
<br>
Kindly yours, <br>
<br>
Julien <br>
<br>
</div>
<br>
</body>
</html>