[Traminer-users] Traminer-users Digest, Vol 21, Issue 2

Chris Cameron cjc73 at cornell.edu
Thu May 3 23:22:36 CEST 2012


Double check the length() and dim() of each of those grouping variables



On May 3, 2012, at 5:16 PM, Jane K. Ohgami wrote:

> I appreciate the prompt reply and have tried the command. I'm now getting the following error message when I try to group by cluster and am a little unclear as to its meaning:
> 
> For example:
> seqrep.grp(org.seq, group = c9.org, mdis=dist, ...
> 
> Error: length(grp) not equal to number of sequences
>> 
> 
> However, I am able to group by other variables such as sex,
> seqrep.grp(org.seq, group = org$sex, mdis=dist, ...
> 
> Any advice would be appreciated. Thank you again for the help.
> 
> -----Original Message-----
> From: traminer-users-bounces at lists.r-forge.r-project.org on behalf of traminer-users-request at lists.r-forge.r-project.org
> Sent: Thu 5/3/2012 6:00 AM
> To: traminer-users at lists.r-forge.r-project.org
> Subject: Traminer-users Digest, Vol 21, Issue 2
> 
> Send Traminer-users mailing list submissions to
>        traminer-users at lists.r-forge.r-project.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users
> 
> or, via email, send a message with subject or body 'help' to
>        traminer-users-request at lists.r-forge.r-project.org
> 
> You can reach the person managing the list at
>        traminer-users-owner at lists.r-forge.r-project.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Traminer-users digest..."
> 
> 
> Today's Topics:
> 
>   1. seqrep() options (Jane K. Ohgami)
>   2. Re: seqrep() options (Gilbert Ritschard)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 3 May 2012 00:42:02 -0400
> From: "Jane K. Ohgami" <jko4 at law.georgetown.edu>
> To: <traminer-users at lists.r-forge.r-project.org>
> Subject: [Traminer-users] seqrep() options
> Message-ID:
>        <E42C05C67BC8AE4099E2DE22EC0A3C3A928075 at LAW-BE3.law.georgetown.edu>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> This is a very basic question but I was wondering if seqrep has a group option to calculate results for clusters. For example, something similar to seqrplot:
> 
> seqrplot(mvad.seq, dist.matrix = dist.om1, group = cl1.4fac,...
> 
> I would like to generate statistics of the representative set for each cluster not the entire data set.
> Thank you for your help.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.r-forge.r-project.org/pipermail/traminer-users/attachments/20120503/811641ce/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 03 May 2012 08:42:57 +0200
> From: Gilbert Ritschard <Gilbert.Ritschard at unige.ch>
> To: Users questions <traminer-users at lists.r-forge.r-project.org>
> Subject: Re: [Traminer-users] seqrep() options
> Message-ID: <4FA228F1.6060006 at unige.ch>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Currently, seqrep doesn't have a group argument. But you can use the
> seqrep.grp function from the TraMineRextras package which is available
> from R-forge (https://r-forge.r-project.org/R/?group_id=743).
> 
> To install TraMineRextras, use the command
> 
> **|install.packages("TraMineRextras",
> repos="http://R-Forge.R-project.org")|**
> 
> Be aware, however, that R-forge provides binaries only for the most
> recent version of R.
> 
> Cheer,
> Gilbert
> 
> On 03-May-12 6:42, Jane K. Ohgami wrote:
>> 
>> This is a very basic question but I was wondering if seqrep has a
>> group option to calculate results for clusters. For example, something
>> similar to seqrplot:
>> 
>> seqrplot(mvad.seq, dist.matrix = dist.om1, group = cl1.4fac,...
>> 
>> I would like to generate statistics of the representative set for each
>> cluster not the entire data set.
>> Thank you for your help.
>> 
>> 
>> 
>> _______________________________________________
>> Traminer-users mailing list
>> Traminer-users at lists.r-forge.r-project.org
>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Traminer-users mailing list
> Traminer-users at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/traminer-users
> 
> End of Traminer-users Digest, Vol 21, Issue 2
> *********************************************
> 
> <ATT00001.c>



More information about the Traminer-users mailing list