Displaying 20 results from an estimated 4000 matches similar to: "Gower Similarity Coefficient"
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 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]]
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
2006 Mar 08
1
function gdist, dist and vegdist in mvpart
Dear R community,
I am analyzing plant communities with the function mvpart, using a
dissimilarit matrix as input. The matrix is calculated with the funtion
gdist.
fit <- mvpart(gdist (ba12[,18:29], meth="maximum", full=TRUE,
sq=F) ~ beers + slope_dem + elev_dem+ plc_dem + pr_curv+
+curv+max_depth+doc_rocks+ abandon+land_use+ca_old,
data=ba12, xv="p")
This
2010 Feb 26
2
Error in mvpart example
Dear all,
I'm getting an error in one of the stock examples in the 'mvpart' package. I tried:
require(mvpart)
data(spider)
fit3 <- rpart(gdist(spider[,1:12],meth="bray",full=TRUE,sq=TRUE)~water+twigs+reft+herbs+moss+sand,spider,method="dist") #directly from ?rpart
summary(fit3)
...which returned the following:
Error in apply(formatg(yval, digits - 3), 1,
2011 Oct 03
4
distance coefficient for amatrix with ngative valus
Hi,
I need to run a PCoA (PCO) for a data set wich has both positive and negative values for variables. I could not find any distancecoefficient other than euclidean distace running for the data set. Are there any other coefficient works with negtive values.Also I cannot get summary out put (the eigen values) for PCO as for PCA.
Thanks.
Dilshan
[[alternative HTML version deleted]]
2012 Oct 18
0
want to count 2 NULLS as disimilar with DIANA/DAISY/GOWER
I am using DIANA/DAISY/GOWER. Some of my categorical data include NULLS.
When assessing disimilarity, these NULLS are considered similar. I do not
want these NULLS to contribute towards similarity. Instead is there a way
for these NULLS to each be considered different so as to contribute to
disimiliarity and not simillarity? Also, I do not want to change these NULLS
in the data as I need them for
2017 Feb 24
2
Users with multiple password
Hi!
~ dovecot --version
2.2.22 (fe789d2)
I am wondering if there is a way to set up virtual users with multiple
valid passwords. We want to be able to provide users with
device/app-specific passwords for their email accounts, as well as being
able to create temporary "access tokens" for technical support when
required.
I quickly found out that passdb using passwd-file or an
2020 Jan 09
1
Upgrade 2.2.27 to 2.3.9.2: master(imap): net_connect_unix(imap) failed: Resource temporarily unavailable
Yes, I realize this. That is why we are introducing the directors to the
cluster. We are also working on doing Dovecot LDA/LMTP delivery, to
improve Dovecot's ability to react to new messages. Currently we are
dropping email directly into the Maildir through other facilities, which
works -fine-.
I realize however that IDLE is most likely not working properly with
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
2012 Apr 23
1
change color scheme in mvpart
Hello everyone, I am currently using the mvpart package and would like to change the color scheme it uses, and was hoping someone could help me out. All of the papers I have found have used a grayscale but I can't seem to figure out how they did that! Currently, mvpart plots barplots in a repeating sequence of 3 shades of blue. So if you have 6 response variables the same shade of blue is used
2005 Sep 26
1
calculating distances using Gower's coefficient on mixed variables.
I want to compute the distances in a mixed variable matrix using the
Gower coefficient. I understand it is possible to calculate distances in
a matrix with mixed variables using the dudi.pco command. How would this
work?
Jorine
2019 Dec 04
1
Environment variables in pgsql connect string
Hi,
We are trying to set up a Dovecot Docker image with dynamic database
configuration based on environment variables, however the variables do
not appear to be expanded in the "connect=" string of the SQL config.
The documentation states that environment variables, being listed under
global variables, work "everywhere":
2020 Jan 08
2
Upgrade 2.2.27 to 2.3.9.2: master(imap): net_connect_unix(imap) failed: Resource temporarily unavailable
On 08/01/2020 10:49, Eirik Rye wrote:
> [...]
In any case, the biggest issue is the one described in the original
message in this thread, where logins are periodically failing for many
for users:
2020-01-08T10:54:57.436400+01:00 imap dovecot: imap-login: Error:
master(imap): net_connect_unix(imap) failed: Resource temporarily
unavailable - http://wiki2.dovecot.org/SocketUnavailable
2010 Aug 13
3
Delete rpart/mvpart cross-validation output
Dear all,
I was wondering if there is a simple way to avoid printing the multiple
cross-validation automatic output to the console of recursive partitionning
functions like rpart or mvpart. For example...
> data(spider)
>
mvpart(data.matrix(spider[,1:12])~herbs+reft+moss+sand+twigs+water,spider,xv="1se",xvmult=100)
*X-Val rep : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
2010 Apr 24
4
DICE Coefficient of similarity measure
Hi,
I wanted the DICE coefficient (similarity measure for binary variables)
to be calculated in R and found that the "igraph" package has the option
of "similarity.dice" to do this. But, for this command, the input object
should be an igraph object. But, I have a dataframe of columns
containing 1's and 0's. Can I convert this dataframe into an igraph
object, so that
2009 Mar 23
1
mvpart error
Hello all,
When attempting a classification tree using mvpart, I get the following
error:
> thesis2.mvp=mvpart(bat_sp~., data=alltrees.df)
Error in all(keep) :
unused argument(s) (c(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE,
TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE,
TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE,
TRUE, TRUE, TRUE,
2011 Sep 13
1
mvpart analyses with covariables
Hi all,
I am fairly new to R and I am trying to run mvpart and create a MRT using
explanatory variables and covariables. I've been following the procedures in
Numerical Ecoogy with R.
The command (no covariables) which works fine -
ABUNDTMRT <- mvpart(abundance ~
.,factors,margin=0.08,cp=0,xv="1se",xval=nrow(abundance),xvmult=100,which=4)
where abundance is 4th root
2010 Sep 07
1
Multivariate Regression Trees: how to identify sample units?
Dear friends,
I am sudying the mvpart package, that implements Multivariate
Regression Trees, aiming at applying it to a biogeographical dataset of
tree speces in southern South America.
My doubt is how to access plot identities after the tree is produced.
For us it is rather important, but I could not find them with neither
'summary(fit)'[where fit is the object containing the
2019 Jun 13
2
Dovecot director: show user breakdown by director?
Hi,
We have recently started using the director in some tests. We are using
the static passdb setup (proxy=y nopassword=y) for now, where
authentication is done on the downstream IMAP servers.
"dovecot director status" shows a breakdown of proxied connections per
backend, but there does not seem to be a similar breakdown of user
connections per director.
The output of