Erica Cseko Nolasco gmail.com> writes:
>
> Hi all,
>
> I´m working on a species distribution modeling, and I want to build
> eigenvectors to represent my spatial varuable. I´m trying to use
> SpatialFiltering(spdep) for it, but I´m having problems to create the nb
> object. My weights would be
C
>
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of Cara Fiore
> Sent: Thursday, August 28, 2014 7:02 PM
> To: r-help@r-project.org
> Subject: [R] distance matrix from metaMDS
>
> Dear R users,
>
>
t.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Cara Fiore
Sent: Thursday, August 28, 2014 7:02 PM
To: r-help@r-project.org
Subject: [R] distance matrix from metaMDS
Dear R users,
I would like to access the distance matrix generated by metaMDS as well as use
the dist function to calculat
Dear R users,
I would like to access the distance matrix generated by metaMDS as well as
use the dist function to calculate the euclidean distance for each axis in
the NMDS. I am having trouble finding a way to access these variables and
any help is greatly appreciated.
For the distance matrix I
org [mailto:r-help-bounces@r-
> project.org] On Behalf Of eliza botto
> Sent: Monday, July 30, 2012 1:44 AM
> To: r-help@r-project.org; smartpink...@yahoo.com
> Subject: [R] distance matrix and hclustering
>
>
> Dear R Users,i am very new to R. I want your help on an issue regar
Look at the examples for the functions dist() and hclust(),
?dist
?hclust
Jean
eliza botto wrote on 07/30/2012 01:43:55 AM:
>
> Dear R Users,i am very new to R. I want your help on an issue
> regarding distance matrix and cluster analysis
> i had discharge data of 4 rivers(a,b,c,d) in 4 vecto
Dear R Users,i am very new to R. I want your help on an issue regarding
distance matrix and cluster analysis
i had discharge data of 4 rivers(a,b,c,d) in 4 vectors each having 364 values
> dput(qmu)structure(list(a = c(0.26, 0.25, 0.25, 0.25, 0.24, 0.23, 0.22, 0.21,
> 0.21, 0.21, 0.2, 0.19, 0.19
I don't know whether I understood your question, but 1.1, 1.2 , 1.3 all are
subsample of 1 , so, rather than comparing 1000 subsample, comparison of 20
pop level makes more sense in my case.
thanks for query
-
Ananta Acharya
Graduate Student
--
View this message in context:
http://r.78969
Em 5/5/2011 07:34, antu escreveu:
Hello all,
I am wondering if there is anyway to create distance matrix for replicated
data
for example,
I have a data like
sample pop id var1var2var3var4
1.1 1 a 1 1 0 1
1.2 1 a 0 0
Hello all,
I am wondering if there is anyway to create distance matrix for replicated
data
for example,
I have a data like
sample pop id var1var2var3var4
1.1 1 a 1 1 0 1
1.2 1 a 0 0 1 0
1.3 1 a
abs(outer(1:10, 1:10, FUN="-"))
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
[1,]012345678 9
[2,]101234567 8
[3,]210123456 7
[4,]321012
x <- 0:10
y <- t(replicate(11, 0:10))
abs(sweep(y, 1, x))
Hope this helps.
On Mon, Jun 28, 2010 at 5:21 AM, clips10 wrote:
>
> I have a vector 0 to 10 and want to create a matrix with the differences
> between the numbers in it for instance:
>
> 0 1 2 3 4 5 6 7 8 9 10
I have a vector 0 to 10 and want to create a matrix with the differences
between the numbers in it for instance:
0 1 2 3 4 5 6 7 8 9 10
0 0 1 2 3 4 5 6 7 8 9 10
1 1 0 1 2 3 4 5 6 789
2
3
4
5
6
7
8
9
10
Etc etc. S
Dear r-helpers,
I just wanted to calculate a distance matrix using the function dist, with
method = 'Podani' (package: proxy).
The calculation is starting without error. Now the hourglass is running and
won't stop. Since more than 20 hours!
I do not think that the problem is with my input matrix.
> On Tue, Apr 8, 2008 at 1:50 PM, Hans-Jörg Bibiko <[EMAIL PROTECTED]>
> wrote:
>> I was sent a text file containing a distance matrix à la:
>>
>> 1
>> 2 3
>> 4 5 6
Thanks a lot for your hints.
At the end all hints ends up more or less in my "stony" way to do it.
Let me summarize it.
The clea
On Tue, Apr 8, 2008 at 1:50 PM, Hans-Jörg Bibiko <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> I have -hopefully- a tiny problem.
>
> I was sent a text file containing a distance matrix à la:
>
> 1
> 2 3
> 4 5 6
>
Try this! I put your test data in "text.txt" and voila:
mat <- matrix(0, 3,3)
Dear all,
I have -hopefully- a tiny problem.
I was sent a text file containing a distance matrix à la:
1
2 3
4 5 6
Now I wanted to import these data into a dist object to, let's say,
do 'plot(hclust(v))'.
My first naïve approach was to scan the text file in order to get a
vector v. Then I
Wow, thank you all for advice, I'll have to get more familiar with R. The
dist() fuction is probably the right way.
Filip Kral.
Erin Hodgess-2 wrote:
>
> Suppose you have:
>
>> x <- runif(25)
>> y <- rnorm(25)
>> x.df <- data.frame(x,y)
>> dist(x.df)
>
>
> The default is euclidean distance.
Suppose you have:
> x <- runif(25)
> y <- rnorm(25)
> x.df <- data.frame(x,y)
> dist(x.df)
The default is euclidean distance.
Hope this helps!
Sincerely,
Erin
On Jan 20, 2008 2:41 PM, WCD <[EMAIL PROTECTED]> wrote:
>
> Hello, I want do get the point to point distance matrix.
> Suppose, I hav
Hello, I want do get the point to point distance matrix.
Suppose, I have a data frame where the first column is X and second column
is Y coordinate of points.
I define a function dst(x1,y1,x2,y2) to claculate distance between two
points. But I don't know how to tell R to calculate dst for every tw
Hi,
I am trying to calculate a distance matrix on a binary data frame using
dist.binary() {ade4}. This is the code I run and the error I get:
> sjlc.dist <- dist.binary(as.data.frame(data), method=2) #D = (a+d) /
(a+b+c+d)
Error in if (any(df < 0)) stop("non negative value expected in df") :
You can't do this uniquely (shifts, rotations and reflection do not change
the distances), but cmdscale() will produce one reconstruction.
On Thu, 22 Nov 2007, Jesse D Lecy wrote:
> Greetings,
>
> I would like to use some of the spatial statistics functions in R, but I am
> having trouble enter
Greetings,
I would like to use some of the spatial statistics functions in R, but I am
having trouble entering data. My data is already in a distance matrix format,
not an X Y coordinate format (each Xij cell in the matrix represens the
distance from point i to j). Does anyone know of a way
Elke Moons uhasselt.be> writes:
>
> Hello everybody,
>
> I would like to use the SpDep-package (especially the Local Moran index
> analysis and the Getis-Ord statistics) in R for analysing my data. However,
> I don't have x-y coordinates, but my data is in a distance matrix format. Is
> it poss
Hello everybody,
I would like to use the SpDep-package (especially the Local Moran index
analysis and the Getis-Ord statistics) in R for analysing my data. However,
I don't have x-y coordinates, but my data is in a distance matrix format. Is
it possible to use the SpDep package with predefined
25 matches
Mail list logo