Displaying 20 results from an estimated 200 matches similar to: "rank correlation and distance between two different matrices"
2003 Oct 17
1
correlation matrix in Hmisc
Dear all,
I am trying to compute a matrix of Pearson's `r' or Spearman's `rho'
rank correlation coefficients using rcorr (Hmisc) the following way:
> mx<-rcorr(x, type="spearman")[1]
but then ...
> is.matrix(mx)
[1] FALSE
Even if I use as.matrix the result is not better.
What can I do?
Thank you all
Luca
2003 Feb 05
1
rearranging rows
Dear all,
I am working with a matrix structured as follows
Factor 1 Factor2 ...
Country 1
Country 1
Country 2
Country 2
...
Country N
Country N
and I need to rearrange it according to the following scheme
Factor 1 Factor2 ...
Country 2
Country 2
Country N
Country N
...
Country 1
Country 1
where countries are ordered accordingly to the average
2004 Feb 02
2
ordering in dotplot
Dear R-friends,
the dataset I am using (data.it) is organized as follows
partner stp btp reg
hk 0.64 1 s
ger 0.27 1 d
tur 0.27 1 s
rom 0.24 1 s-f
por 0.24 1 s
spa 0.23 1 s
gre 0.22 1 d-f
aus 0.17 1 d
uk 0.16 1 s
be 0.16 1 d
arg 0.15 1 s
usa 0.13 1 d-f
fra 0.13 1 s
neth
2005 Oct 24
2
Spearman's Rho Help!
Hi,
I have a dataset with four categories of data, the number of samples are not
the same in each category. I want to find the Spearaman's Rho. Let me give
an example.
x=(14.22770439,26.49420624,46.7277932,19.02550707,23.37379361,16.97789862,19.77100085,23.11270162,13.72929843,33.54430621,14.4756979,70.15811106,11.22789833,NA,NA,NA)
2013 Feb 08
1
vegdist Error en double(N * (N - 1)/2) : tama?o del vector especificado es muy grande
---------- Forwarded message ----------
From: <r-help-owner@r-project.org>
Date: 2013/2/8
Subject: vegdist Error en double(N * (N - 1)/2) : tama?o del vector
especificado es muy grande
To: caro.bello58@gmail.com
Message rejected by filter rule match
---------- Mensaje reenviado ----------
From: caro bello <caro.bello58@gmail.com>
To: r-help@r-project.org
Cc:
Date: Fri, 8 Feb 2013
2010 Feb 02
2
hvcluster() with distance method from vegdist(), package = vegan
hello,
i'd be happy if someone could provide help with the following problem:
i have a dist.matrix that comes from vegdist() function of the vegan
package. the used method = "horn" is not accepted as argument in
hvcluster(...,dist.method="...").
is there a way to incorporate the method "horn" in hvcluster()?
thanks in advance!
yours,
kay
--
View this
2010 Mar 16
1
memory failure in adonis function (permanova)
Dear all,
I am trying to get a PERMANOVA with quite large data set. I am reading a lot
about this question, but I do not get the answer about it. Although I know
that the R function is adonis () (vegan package), it does not work:
adonis(Pha.env~SPha, data=Pha, permutations=10)
The error message:
Error: cannot allocate vector of size 334.2 Mb
In addition: Warning messages:
1: In vegdist(lhs,
2006 Oct 21
1
Problems running IsoMDS using vegdist with pres-abs data and two sites with zero distance
Hi
I have just (finally) started to poke around in R and wanted to analyse
a stream fish dataset with 28 sites and 18 species. When trying to
follow the Vegan manual to run nmds from distance measures calculated by
the vegdist function it turns out that I have two sites (streams) with
the exactly the same four species (I have used pres-abs data in this
case). When I try to run isoMDS I get an
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
2011 Sep 09
2
NMDS plot and Adonis (PerMANOVA) of community composition with presence absence and relative intensity
Hi!
Thanks for providing great help in R-related statistics. Now, however I'm
stuck. I'm not a statistics person but I was recommended to use R to perform
a nmds plot and PerMANOVA of my dataset.
Sample(treatment) in the columns and species (OTU) in the rows. I have 4
treatments (Ambient Temperature, Ambient temperature+Low pH, High
temperature, High temperature+low pH), and I have 16
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]]
2010 Jun 20
1
lm for log log
Hi,
It's rather statistical question than R-question.
There is some linear correlation but the picture "plot(a,b) +
abline(lm(b~a))" is quite crowded in the left lower corner. The
picture "plot(log(a), log(b)) + abline(lm(log(b)~log(a))" is much
nicer ("Milky Way"). Is it correct to use the second kind of picture
for illustration ? I use Spearman's rho and
2013 Apr 11
1
Cannot find ldfortran (R on Cygwin)
Hi
I am new to Cygwin and Linux.
I installed R under Cygwin as part of the setup
I chose "All" during installation, for all packages. So I have the FULL
installlation of cygwin up and running, including gfortran.
*Under Cygwin, how do I check and configure the path to the various
libraries?*
I am trying below command and it says, cannot find "lgfortran"
But I have installed
2001 Sep 09
1
Spearman's analysis
I have computed correlation coefficients for my dissertation data using
Spearman's Rho with adjustments for tie scores; however, I do not have access
to a way to find exact p's. I have a friend who has R but he doesn't know if
it is appropriate for my analysis, given the constraint of tie scores? Can
you advise me? Thanks. Michele Fagan
-------------- next part --------------
An
2009 Nov 30
1
cor.test(method = spearman, exact = TRUE) not exact (PR#14095)
Full_Name: David Simcha
Version: 2.10
OS: Windows XP Home
Submission from: (NULL) (173.3.208.5)
> a <- c(1:10)
> b <- c(1:10)
> cor.test(a, b, method = "spearman", alternative = "greater", exact = TRUE)
Spearman's rank correlation rho
data: a and b
S = 0, p-value < 2.2e-16
alternative hypothesis: true rho is greater than 0
sample estimates:
2011 May 17
1
simprof test using jaccard distance
Dear All,
I would like to use the simprof function (clustsig package) but the available distances do not include Jaccard distance, which is the most appropriate for pres/abs community data. Here is the core of the function:
> simprof
function (data, num.expected = 1000, num.simulated = 999, method.cluster = "average",
method.distance = "euclidean", method.transform =
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]]
2003 Oct 22
6
Something strange in cor.test in R-1.8.0 (PR#4718)
Full_Name: Ian Wilson
Version: R-1.8.0
OS: Windows (but own compilation)
Submission from: (NULL) (139.133.7.38)
the p-value is incorrect for cor.test using method "spearman" in R-1.8.0. This
was not the case in R-1.7.1.
Version R-1.8.0 on Windows
> cor.test(rnorm(50),rnorm(50),method="spearman")
Spearman's rank correlation rho
data: rnorm(50) and rnorm(50)
S
2009 Mar 13
1
cor.test(x,y)
Hi,
I am not sure which kind of test is applied to the data if you use
cor.test(x, y) ?
Is it an unpaired t-Test?
Regards
--
View this message in context: http://www.nabble.com/cor.test%28x%2Cy%29-tp22492993p22492993.html
Sent from the R help mailing list archive at Nabble.com.
2004 May 20
1
Spearman probabilities and SuppDists
cor.test and SuppDists give me different P-values for the same
Spearman's rho. Which is correct, or am I doing something wrong?
> x <- c(44.4, 45.9, 41.9, 53.3, 44.7, 44.1, 50.7, 45.2, 60.1)
> y <- c( 2.6, 3.1, 2.5, 5.0, 3.6, 4.0, 5.2, 2.8, 3.8)
> cor.test(x,y,method="spearman")
Spearman's rank correlation rho
data: x and y
S = 48, p-value =