Displaying 20 results from an estimated 6000 matches similar to: "how to cluster vectors of factors"
2005 Jan 27
2
cluster, mona error
Hi
I have a problem using the package cluster on my binary data. I want to
try mona at first. But i get the an error.
hc<-read.table("all.txt", header=TRUE, sep="\t", row.names=1)
srt(hc)
`data.frame': 51 obs. of 59 variables:
$ G1p : int 2 1 1 1 1 1 1 1 1 1 ...
$ G1q : int 1 1 1 1 1 1 1 1 1 1 ...
$ G2p : int 1 1 1 1 1 1 1 1 1 1 ...
$ G2q : int 1 1 1 1 1 1
2011 Sep 09
1
Question about plot.mona {cluster}
Hello all, I what to print the banner plot that is output from the mona
method in the cluster package but the problem is I dont want to print all
that red ink. Here is an example:
data(animals)
ma <- mona(animals)
ma
## Plot similar to Figure 10 in Struyf et al (1996)
plot(ma)
I can change the bar color by using the argument col=c(0,0) -
plot(ma,col=c(0,0)) - but then the variable labels also
2003 May 21
1
cluster- binary data.
Hi!
I am trying to calculate a dissimilarity matrix using daisy.
The matrix vectver is binary as i test with:
> levels(as.factor(vectver))
[1] "0" "1"
But the call to daisy gives me the following error message.:
> dfl1 <- daisy(vectver, type = list(asymm = c(1:length(vectver[,1]))))
Error in daisy(vectver, type = list(asymm = c(1:length(vectver[, 1])))) :
at least
2008 Mar 24
7
FYI about my Mona Vie business venture
Asterisk work does not pay all of my bills, so I have joined up with a company that has a very good payment plan.
I have recently become a Mona Vie Independent Distributor.
I am not going to go into a sales pitch.
This is just an FYI to this opportunity.
The company has grown into a Billion dollar company in just 2 years.
This company's compensation plan is the best and quickest that I have
2002 May 31
1
cluster compile fails
I am having trouble installing cluster from R-1.5.0-recommended :
R CMD INSTALL *.tar.gz
...
g77 -fPIC -g -O2 -c pam.f -o pam.o
g77 -fPIC -g -O2 -c spannel.f -o spannel.o
g77 -fPIC -g -O2 -c twins.f -o twins.o
cp: cannot access *.so
ERROR: compilation failed for package 'cluster'
[34] /home/com1/gilp/Rlibs/R-1.5.0-recommended :
This is with R-1.5.0 on Solaris 5.8 using gcc
2002 Jan 31
1
MacOS X: Packages KernSmooth and cluster won't compile
Hello,
I'm using R 1.40 on MacOS X X.1.2 (installed via the fink package manager).
To upgrade my installed packages, I tried to use update.packages() today.
All went well for most packages, with the exception of KernSmooth and
cluster. In both cases, libraries were not found although I think they are
present.
Here's what happened:
----------------------------------
>
2010 Oct 18
1
make error for R 2.13.0 (and 2.12.0)
Regarding Tengfei Yin's post about an error trying to install
"cluster" in 2.13.0, I have gotten an error with this package when
trying to install the released version of 2.12.0. Here is the output
on an Ubuntu Linux system:
begin installing recommended package cluster
* installing *source* package 'cluster' ...
** libs
make[3]: Entering directory
2008 Dec 23
2
beginner data.frame question
I need some help understanding how on of the example data sets is
formatted in the basic R installation. If I load the Mona Loa CO2
data, with the command:
> data(co2)
I can view the data with:
> co2
And the data are in the form of 11 rows labeled as years (1994-2004)
and 12 columns labeled (Jan - Dec). This structure appears to be a
dataframe, however, if I type the command
2007 Mar 08
1
Tracking when an object/function was modified
Dear R-users,
If I would like to track the date when an R-object (specifically an R-
function) was modified, how can I achieve that? Furthermore, how can I
sort these objects based on date modified?
Your help is greatly appreciated
All the best
Mona
--
*****************************************************
*Dr. Mona Kanaan *
*Department of Epidemiology
2011 Mar 31
1
Cluster analysis, factor variables, large data set
Dear R helpers,
I have a large data set with 36 variables and about 50.000 cases. The
variabels represent labour market status during 36 months, there are 8
different variable values (e.g. Full-time Employment, Student,...)
Only cases with at least one change in labour market status is
included in the data set.
To analyse sub sets of the data, I have used daisy in the
cluster-package to create
2002 Sep 10
9
R 1.6.0 beta
R 1.6.0 has gone into final feature freeze as of today.
As a new feature, we'll make interim beta versions available via
ftp://cran.us.r-project.org/pub/R/src/base
alias
http://cran.us.r-project.org/src/base
(filename R-1.6.0beta_*.tar.gz, where * is the creation date).
If you want to help ensure that the final 1.6.0 works satisfactorily
on *your* platform, it might be a good idea to
2005 Aug 13
1
Compilation failures: mgcv, spatstat, Matrix, cluster
Please cc me when replying to the list.
With Version 2.1.1 (2005-06-20) on Power Mac G5 running Mac OS X
10.4.2 (8C46):
Some compilations work (e.g., MatchIt, RGraphics, Zelig), and some
don't, e.g., mgcv, spatstat, and the following (Matrix, cluster):
trying URL 'http://www.ibiblio.org/pub/languages/R/CRAN/src/contrib/
Matrix_0.98-3.tar.gz'
Content type
2010 Apr 19
6
comparing attitudes of 2 groups / likert scales?
Hi,
I have just found this forum, and it looks like a great place to get some
help (I hope)
For my dissertation, which is due way too soon, I am doing a survey,
comparing attitudes of 2 independent groups, with 5 scale likert questions.
Basically I want to show if they have similar or different attitudes. I am
testing 4 hypotheses, and have in total about 20 questions.
I have to say my
2012 Apr 11
3
Question on Counting Factors
Hi,
I hope this is not too trivial, but I've had this recurring problem
and I think there is super easy solution, just not sure what it is.
Please see short example below. ?I would like to get the frequency
(counts) of all the variables in a single column (that is easy), but I
would also like to return the value 0 for the absence of variables
defined in another column.
For example:
animals
2007 Nov 28
2
Clustering
Hello all!
I am performingsome clustering analysis on microarray data using
agnes{cluster} and I have created my own dissimilarity matrix according to a
distance measure different from "euclidean" or "manhattan" etc. My question
is, if I choose for example method="complete", how are the distances
between the elements calculated? Are they taken form the dissimilarity
2010 Apr 26
2
Cluster analysis: dissimilar results between R and SPSS
Hello everyone!
My data is composed of 277 individuals measured on 8 binary variables
(1=yes, 2=no).
I did two similar cluster analyses, one on SPSS 18.0 and one on R 2.9.2. The
objective is to have the means for each variable per retained cluster.
1) the R analysis ran as followed:
> call data
> dist=dist(data,method="euclidean")
>
2005 Jun 18
1
Fedora Core 4
I had installed R from source on Fedora Core 3. Then I upgraded
to Fedora Core 4, but left R alone. R worked fine, until I trued
to update.packages(). Even then, many packages updated just
fine, but two of them, cluster and mgcv, failed with the
following error message (using cluster as an example):
gcc -shared -L/usr/local/lib -o cluster.so clara.o daisy.o
dysta.o fanny.o meet.o mona.o pam.o
2007 May 29
1
Fw: hierarhical cluster analysis of groups of vectors
Hi Rafael,
What about multivariate logistic regression?
----- Forwarded Message ----
From: Rafael Duarte <rduarte@ipimar.pt>
To: Anders Malmendal <anders@chem.au.dk>
Cc: r-help@stat.math.ethz.ch
Sent: Tuesday, May 29, 2007 3:21:11 PM
Subject: Re: [R] hierarhical cluster analysis of groups of vectors
It seems that you have already groups defined.
Discriminant analysis would probably
2009 Feb 20
2
cluster analysis: mean values for each variable and cluster
Hi all!
I'm new to R and don't know many about it. Because it is free, I managed to
learn it a little bit.
Here is my problem: I did a cluster analysis on 30 observations and 16
variables (monde, figaro, liberation, etc.). Here is the .txt data file:
2009 Jul 15
1
Samba + ADS - Filepermissions home directories
I configured winbind, samba and pam.d to authenticate via our Windows Active
Directory Server.
Everything works fine, I can log on to the system using my Windows Account
credentials, I am also able to access the samba home share, but I have no
write permissions there.
What I don't get is: When I give read-write-access to everybody (chmod 777
/home/%USER%), I am able to create and delete