Skip to content
Prev 4238 / 7420 Next

NA error in envfit

Phillip,

You approach to using factors misses an important consideration; the
class that was observed in the full dataset should not disappear just
because you subsetted the data in some manner. Also, `droplevels()` is
a useful function to call on a factor or data frame if subsetting
produces levels with zero observations and if that information is not
made use on in whatever computations follow next.

G
On 5 December 2013 10:42, Dixon, Philip M [STAT] <pdixon at iastate.edu> wrote: