Displaying 20 results from an estimated 300 matches similar to: "want to count 2 NULLS as disimilar with DIANA/DAISY/GOWER"
2012 Oct 15
1
weighting variables using Gower with DAISY
Hello,
I am running DAISY in R and using the GOWER metric since I am working with
mixed variables. I am wondering if there is a way to weight the different
variables. I see that there is a weight value for Gower but do not know if
this is how to weight the diffrent variables with different weighting
values. Please advise if there is a way to weight the different variables.
Thank you.
--
View
2009 Feb 12
0
Resilience inquiry: What happens to samba clients if a domain controller fails?
Hello folks,
I have been asked about the resilience of samba clients when faced with
a domain controller failure. My client's environment has multiple
Windows Domain Controllers (we'll call them dc1 - dc9).
Assuming that domain replication operates as expected (and does, from
Windows workstation point of view), what should I expect if (when) the
domain controller that initiated a
2013 Feb 20
4
Error in setwd(outDir) : cannot change working directory
I installed R on my Windows laptop in C:\Program Files\R\R-2.15.2
and am able to open RGUI (640bit), see packages and run commands. However,
when I test the installation and run the basic tests and all the tests on
the standard and recommended packages i.e.:
library("tools")
testInstalledBasic("both")
testInstalledPackages("base", errorsAreFatal
2000 Oct 25
1
lifetable, survivorship.. [forwarded message from Diana Fischer]
This was accidentally addressed to me, personally:
------- start of forwarded message -------
Message-id: <39F70D7C.287323D5 at yale.edu>
MIME-version: 1.0
From: Diana Fischer <diana.fischer at yale.edu>
To: maechler at stat.math.ethz.ch
Subject: R-Project
Date: Wed, 25 Oct 2000 11:42:36 -0500
I briefly looked at the R documentation of available statistical
procedures. It appears
2008 Apr 13
0
Calinsky and Harabasz Index for Cluster Determination with Diana in R
Hello all,
I have a set of data points, which I have pair distances for. I
managed to create dendrogram for this data set using diana() in R,
however this only gives me the tree and not the clusters themselves. I
am trying to determine clusters using Calinsky and Harabasz Index (CH
Index). I, however, cannot find how to accomplish this using R. Is
there anyone who could help me with this? I
2008 Oct 13
1
Gower distance between a individual and a population
Hi the list,
I need to compute Gower distance between a specific individual and all
the other individual.
The function DAISY from package cluster compute all the pairwise
dissimilarities of a population. If the population is N individuals,
that is arround N^2 distances to compute.
I need to compute the distance between a specific individual and all
the other individual, that is only N
2011 Dec 21
0
Gower
Alguém sabe onde encontro os comandos para utilizar em
daisy() no pacote cluster o método de Gower
para dados moleculares codominantes, quantitativos e multicategóricos
"conjuntamente"?
Agradeço.
OBS.: confirmar por favor o recebimento da mensagem.
####################################
Adésio Ferreira
Universidade Federal do Espírito Santo
Centro de Ciências Agrárias
Departamento
2004 Nov 09
1
gdist and gower distance
Dear All,
I would like to ask clarifications on the gower distnce matrix calculated by the function gdistin the library mvpart.
Here is a dummy example:
> library(mvpart)
Loading required package: survival
Loading required package: splines
mvpart package loaded: extends rpart to include
multivariate and distance-based partitioning
> x=matrix(1:6, byrow=T, ncol=2)
> x
[,1]
2006 Aug 13
1
Gower Similarity Coefficient
I'm interested in clustering my data using the Gower Similarity Coefficient,
and I was wondering if R is capable of using that metric
Timothy Rye
[[alternative HTML version deleted]]
2006 Nov 17
3
gower distance calculation
Hello
I have 2 rows in a matrix and I want to calculate the Gower Distance between
the 2 , how can I do it?
I searched and found nothing that can help me, and my program doesn't know
the gdist function and I couldn't find it on the R help site.
Can anyone help me plz
Thank u all
[[alternative HTML version deleted]]
2006 Jan 05
0
more on the daisy function
Dear R-helpers,
First of all, a happy new year to everyone!
I succesfully used the daisy function (from package cluster) to find which two
rows from a dataframe differ by only one value, and I now want to come up with
a simpler way to find _which_ value makes the difference between any such
pair of two rows.
Consider a very small example (the actual data counts thousands of rows):
input
2007 Feb 22
0
daisy function in cluster- coerced NAs
I am currently using the function daisy in package cluster to create a
dissimilarity matrix because my multivariate dataset contain missing
data and variables of various types including factors, symmetric and
asymmetric binary and quantitative. This is a step prior to using pco
within ecodist.
There is a warning which comes twice
">NAs introduced by coercion"
I've used
2010 Aug 26
1
daisy(): space allocation issue
Hi,
I'm trying to apply the function daisy() to a data.frame 10000x10 but I have
not enough space (error message: cannot allocate vector of length
1476173280).
I didn't imagine I was not able to work with a matrix of just 10000
observations... I have setted in Rgui --max-mem-size=2G (I'm not able to set
more space..)
How can I solve this issue? Separating observations depending on
2010 Nov 06
0
variable type assignment in daisy
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” gave the same types in the output as the types they were assigned to. Why is this so? Below are the codes and outputs.
2013 Jan 08
0
Correct use of the cluster::daisy function
Hi,
I have two groups, and I want to find the dissimiarity between the members
of the two groups. Since I have mixed level variables on the members, I opt
for the daisy function in the cluster package.
Let's pretend that the following represent my groups:
x <- data.frame(sex=factor(c(1,0,0,1,0,1),
levels=0:1,
labels=c('Male','Female'),
ordered=FALSE),
2011 Jun 16
1
Specify ID variable in daisy{cluster}
Hi All - I am using the daisy function from the cluster library to create a
dissimilarity matrix. I'm going to use that matrix to run a cluster
analysis. My participants are identified with the variable, hhid. However,
when I try to keep hhid in the dataset that I use to create the
dissimilarity matrix, daisy uses it to create the matrix rather than
ignoring it as an ID variable. I need to
2005 Apr 18
2
Very Slow Gower Similarity Function
Hello,
I am a relatively new user of R. I have written a basic function to calculate
the Gower similarity function. I was motivated to do so partly as an excercise
in learning R, and partly because the existing option (vegdist in the vegan
package) does not accept missing values.
I think I have succeeded - my function gives me the correct values. However, now
that I'm starting to use it with
2004 Aug 12
2
error using daisy() in library(cluster). Bug?
Hi,
I'm using the cluster library to examine multivariate data.
The data come from a connection to a postgres database, and I did a short R
script to do the analisys. With the cluster version included in R1.8.0, daisy
worked well for my data, but now, when I call daisy, I obtain the following
messages:
---------
Error in if (any(sx == 0)) { : missing value where TRUE/FALSE needed
In
2006 Mar 20
1
type in daisy
Hi,
I'm a PhD student and I want to use the function 'daisy' from the
package 'cluster' to compute dissimilarities.
My variables are of mixed types so I use the argument 'stand' in daisy
to define the type of my variables.
I have the following error message :
Warning message:
binary variable(s) 13, 16, 17, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
32, 33, 34, 35,
2013 Dec 08
3
Why daisy() in cluster library failed to exclude NA when computing dissimilarity
Hi,
According to daisy function from cluster documentation, it can compute
dissimilarity when NA (missing) value(s) is present.
http://stat.ethz.ch/R-manual/R-devel/library/cluster/html/daisy.html
But why when I tried this code
library(cluster)
x <- c(1.115,NA,NA,0.971,NA)
y <- c(NA,1.006,NA,NA,0.645)
df <- as.data.frame(rbind(x,y))
daisy(df,metric="gower")
It gave this