[R] variable type assignment in daisy

2010-11-05 Thread Penny Adversario
Dear Rhelp,   I did a daisy on 5 lifestyle variables, 3 of which were nominal and 2 were ordinal and assigned types “nominal” and “ordinal” for the variables, respectively.  I got an output indicating their types as “I” for interval(?). Doing it on the Rdata example “flower” ga

Re: [R] transposing a column table

2010-10-28 Thread Penny Adversario
Dear R-user, I need help on how to transpose this column of clustering vector in R with 8768 entries derived from a PAM clustering output in a vertical  view to an excel file   Clustering vector:    [1] 1 1 2 2 1 2 1 2 1 1 2 2 1 2 2 2 2 1 1 1 1 2 2 1 2 2 1 2 2 2 2 2 2 2 2 1 2   [38] 2 1 1 2 2 2 2

[R] re-vertical conversion of data entries

2010-10-24 Thread Penny Adversario
Dear R user, Can you please help me. How do I convert part of a cluster analysis output under the heading “Clustering vector” as shown below, showing the clusters to which each respondent belongs to:      [1] 1 1 2 2 1 2 1 2 1 1 2 2 1 2 2 2 2 1 1 1 1 2 2 1 2 2 1 2 2 2 2 2 2 2 2 1 2  

[R] maxitems in cluster validity

2010-10-22 Thread Penny Adversario
I did cluster validity using internal and stability measures on 8768 items but I get an error message: “ the number of items to be clustered is larger than maxitems.”  I increased my maxitems to 9000 and still got the same error message.  I partitioned the data into subsections of 600 and

[R] Ordinal response model in depmixS4

2010-10-22 Thread Penny Adversario
I am running a latent class regression with 3 nominal and 2 ordinal variables using depmixS4 but the available response models do not include one for ordinal response.  How do I go about this?   Penny [[alternative HTML version deleted]] _

[R] Fw: vector allocation problem

2010-10-22 Thread Penny Adversario
--- On Fri, 22/10/10, Penny Adversario wrote: From: Penny Adversario Subject: [R] (no subject) To: r-help@r-project.org Received: Friday, 22 October, 2010, 8:54 PM I am doing cluster analysis on 8768 respondents on 5 lifestyle variables and am having difficulty constructing a

[R] (no subject)

2010-10-22 Thread Penny Adversario
I am doing cluster analysis on 8768 respondents on 5 lifestyle variables and am having difficulty constructing a dissimilarity matrix which I will use for PAM.  I always get an error:  “cannot allocate  vector of size 293.3 Mb” even if I have already increased my memory to its limit of 40