Skip to content
Prev 4646 / 7420 Next

a possible hack for adding species scores?

Hi Eliot,

    With respect to leafiness you're in a common problem area.  Ordinal 
variables are hard to handle from any approach.  One alternative (only 
undertaken with a well articulated rationale) is to promote them to 
interval variables,

ordisurf(demo, as.numeric(to.ordinate$leafiness))

If you think the scale is wrong you can try other, e.g.

0,1,4,9,16,25

Otherwise you can do logistic regression on the classes

ordisurf(demo, to.ordinate$leafiness==1, family=binomial)

but you have one fewer degree of freedom than expected which can be a 
problem on a small data set.  Alternatively, you can use envfit as you 
have been doing, but that also assumes they are categorical as opposed 
to ordered.

    Maybe someone else will weigh in with a better alternative for 
ordinal variables.

Dave
On 08/29/2014 11:05 AM, Eliot Miller wrote: