[R-sig-eco] construct a nearest neighbor contingency table
Marcelino de la Cruz
marcelino.delacruz at upm.es
Wed Jun 4 09:41:15 CEST 2008
Hello,
You can use the function "dixon2002" in the R package "ecespa". It
only requires a data.frame with x, y and "type" columns as input.
Please, tell me how does it work for you.
Regards,
Marcelino
At 01:28 04/06/2008, Tom Elliott wrote:
>Hello-
>
>I have plot data of mapped male and female cottonwoods, collected for
>my master's thesis. The data are multiple rows in 3 columns:
>x-coordinate, y-coordinate, and a code for male, female, or unknown. I
>want to test it for spatial segregation of the sexes using methods by
>Phillip Dixon (1994, 2002).
>
> Is there a way in R to build a nearest neighbor contingency table for
>the data? I would like the format to be 3 rows (male, female,
>unknown), with columns for counts of the nearest neighbors in each
>class.
>
>Thanks,
>Tom
>
>Biology Department
>Central Washington University
>
>_______________________________________________
>R-sig-ecology mailing list
>R-sig-ecology at r-project.org
>https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
***************************************
Marcelino de la Cruz Rot
Depto. Biologia Vegetal
EUIT Agricola
Universidad Politecnica de Madrid
28040-Madrid
SPAIN
More information about the R-sig-ecology
mailing list