Re: [R] correlation between XY coordinates

2012-05-07 Thread David L Lorenz
: Sarah Goslee To: Christopher Kurby Cc: "r-help@r-project.org" Subject: Re: [R] correlation between XY coordinates Message-ID: <4a58b3c4-c5b6-4c22-a7d3-bd79b8c1f...@gmail.com> Content-Type: text/plain; charset=us-ascii Hi Chris, To get a single value you might need something li

Re: [R] correlation between XY coordinates

2012-05-06 Thread Sarah Goslee
Hi Chris, To get a single value you might need something like a Mantel test, available in both ecodist and vegan. That test is a permutation test of significance of the correlation between two distance matrices. Sarah On May 6, 2012, at 8:06 AM, Christopher Kurby wrote: > Hey Josh (and every

Re: [R] correlation between XY coordinates

2012-05-06 Thread Christopher Kurby
Hey Josh (and everyone), My apologies, let me be more specific. I have two sets of XY coordinates in Cartesian space. I would like to compute a correlation between the two sets. For example, let's say I have two N X 2 matrices, with the first column being the X coordinate, the second column bei

Re: [R] correlation between XY coordinates

2012-05-05 Thread Joshua Wiley
Hi Chris, As Jeff mentioned, it is hard to tell what you want (correlations between sets of coordinates could mean many things it seems like to me), but here is something that perhaps helps: ## some data (usually nice if you provide this rather than us having to make something up) d1 <- cbind(x <

Re: [R] correlation between XY coordinates

2012-05-05 Thread Jeff Newmiller
Isn't that one of the main things base R is used for? Maybe your question is not specific enough. Can you provide some sample data and your best estimate of what the result should look like? The Posting Guide mentioned below could help you elicit more effective answers. --

[R] correlation between XY coordinates

2012-05-05 Thread Christopher Kurby
Hello r world, Does anyone know a function or package that can compute correlations between sets of XY coordinates? Thanks in advance for your help, Chris __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read