Skip to content
Prev 349811 / 398513 Next

your suggestions in MRMs

Kristi,

You're completely missing the point, I think.

Instead of providing X,Y coordinates in the sample dataset graze
within the ecodist package, I provided one location, X if you'd like,
called sitelocation.

If you look at the example in ?MRM,

data(graze)
LOAR10.mrm <- MRM(dist(LOAR10) ~ dist(sitelocation) + dist(forestpct),
data=graze, nperm=100)

This is a toy example,with only one species, geographic distance, and
another potential explanatory variable.

dist(LOAR10) - species distance; you'd use whatever set of species
you're studying

dist(sitelocation) - geographic distance, you'd use your x and y
coordinates as in dist(xy.matrix)

dist(forestpct) - you'd use whatever variable or variables are
appropriate for your study


I concealed the location of these sites BEFORE I made the data public,
which is why there's one location variable instead of x,y coordinates.

Each row of graze is a single site, with some information associated.

You don't need to conceal your location for your own analysis. You
just need to use the appropriate data within the dist() command to
calculate the distances, and with the appropriate distance metrics if
Euclidean isn't appropriate for your data.

Reading the papers cited in ?MRM might help you understand the logic a
bit better.

Sarah
On Wed, Apr 8, 2015 at 3:01 PM, Kristi Glover <kristi.glover at hotmail.com> wrote: