<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Pierre,<br>
<br>
I suppose that there is a problem when defining your sequence
object.<br>
<br>
What do you get when typing <br>
<br>
ncol(names_of_your_sequence_object)<br>
<br>
?<br>
<br>
Best,<br>
Alexis<br>
<br>
<br>
<div class="moz-cite-prefix">Le 23. 03. 14 18:01, Pierre Blavier a
écrit :<br>
</div>
<blockquote
cite="mid:CAPmyiXf15MntM0HabN7Fvr==BZYFE5Cbr2-ASs9N+eutS1ckdA@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">Hi everybody,
<div><br>
</div>
<div style="">here is a plot from the TramineR seqiplot command.
It gives the first 10 sequences of my dataset, all my
sequences are 21 period-long. Does anyone know how to reduce
the length of the x-axis to have a length of the longest
sequence, i.e. 21 periods ? It's probably simple but i could
not fix it. I have the same problems for other plots </div>
<div style=""><br>
</div>
<div style="">Thanks, Best, </div>
<div style=""><br>
</div>
<div style="">Pierre </div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
<div style=""><img moz-do-not-send="true"
src="webkit-fake-url://BC58AF96-7CD7-4D91-891A-C5B7FC85FA6B/image.tiff"><br>
</div>
<div style=""><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-01-15 16:35 GMT+01:00 Gilbert
Ritschard <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:Gilbert.Ritschard@unige.ch" target="_blank">Gilbert.Ritschard@unige.ch</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="FR-CH">
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi
Jeremy,</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"
lang="EN-US">Thank you for your question. Could you
provide a reproducible working example? Indeed you
are right, you should get the same plot in both
cases. You do not provide enough information,
however, to allow identifying the source of the
problem.
</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"
lang="EN-US"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"
lang="EN-US">Your question certainly is of interest
for many TraMineR users and future users. I would
therefore suggest you post your question on
StackOverflow (see <a moz-do-not-send="true"
href="http://mephisto.unige.ch/traminer/contrib.shtml"
target="_blank">http://mephisto.unige.ch/traminer/contrib.shtml</a>)
using the “traminer” tag which is searchable, unlike
this r-forge list.</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"
lang="EN-US"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"
lang="EN-US">Best.</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"
lang="EN-US">Gilbert</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"
lang="EN-US"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"
lang="EN-US"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"
lang="EN-US"> </span></p>
<div style="border:none;border-left:solid blue
1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US"> <a moz-do-not-send="true"
href="mailto:traminer-users-bounces@lists.r-forge.r-project.org"
target="_blank">traminer-users-bounces@lists.r-forge.r-project.org</a>
[mailto:<a moz-do-not-send="true"
href="mailto:traminer-users-bounces@lists.r-forge.r-project.org"
target="_blank">traminer-users-bounces@lists.r-forge.r-project.org</a>]
<b>On Behalf Of </b>Jeremy Reynolds<br>
<b>Sent:</b> Monday, January 13, 2014 22:09<br>
<b>To:</b> <a moz-do-not-send="true"
href="mailto:traminer-users@lists.r-forge.r-project.org"
target="_blank">traminer-users@lists.r-forge.r-project.org</a><br>
<b>Subject:</b> [Traminer-users] plots with
group option vs separate plots</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<div>
<p class="MsoNormal"
style="margin-bottom:12.0pt">Hello,</p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I
have been making sequence plots, and I seem to
be getting very different results when I use the
"group" option of the seqdplot or seqIplot
command than when I draw separate plots for each
subgroup.
</p>
</div>
<p class="MsoNormal">After creating a sequence
object and performing optimal matching using PAM,
I have chosen a 4 cluster solution. I then create
a single plot that shows the distribution across
states in each of the 4 clusters like this:</p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
seqdplot(seq.hc, group =
pam5vs$clustering$cluster4, border = NA,
title="pam5vs")</p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">If
I subset the data and make a separate plot for
one of the 4 clusters as in the code below, the
N matches the results above (the total N and the
N across the states), but I get a very different
impression of how the cases are distributed
across the states in the two graphs. Am I doing
something wrong? I would be happy to provide
more detail if needed.</p>
</div>
<div>
<p class="MsoNormal">Thanks,<br>
<br>
Jeremy</p>
</div>
<div>
<p class="MsoNormal"><br>
cluster4 <- subset(bhps,
pam5vs$clustering$cluster4==(6875))<br>
seq.cluster4 <- seqdef(cluster4 [4:21],
labels = c("M", "S", "F", "O", "U" ))<br
clear="all">
</p>
</div>
<div>
<div>
<div>
<p class="MsoNormal">seqdplot(seq.cluster4,
border = NA, title="pam5vs cluster 6875")<br>
<br>
-- </p>
<div>
<p class="MsoNormal">********************<br>
Dr. Jeremy Reynolds<br>
Associate Professor<br>
Undergraduate Coordinator<br>
Department of Sociology<br>
116 Baldwin Hall<br>
University of Georgia<br>
Athens, GA 30602-1611<br>
Phone: <a moz-do-not-send="true"
href="tel:%28706%29%20583-8072"
value="+17065838072" target="_blank">(706)
583-8072</a><br>
Web: <a moz-do-not-send="true"
href="http://uga.edu/soc/people/faculty/reynolds_jeremy.php"
target="_blank">
http://uga.edu/soc/people/faculty/reynolds_jeremy.php</a><br>
Fax: <a moz-do-not-send="true"
href="tel:%28706%29%20542-4320"
value="+17065424320" target="_blank">(706)
542-4320</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Traminer-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Traminer-users@lists.r-forge.r-project.org">Traminer-users@lists.r-forge.r-project.org</a><br>
<a moz-do-not-send="true"
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>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Traminer-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Traminer-users@lists.r-forge.r-project.org">Traminer-users@lists.r-forge.r-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users</a></pre>
</blockquote>
<br>
</body>
</html>