On 05/12/2013, at 18:42 PM, Dixon, Philip M [STAT] wrote:
I wonder if the problem is a factor level with no observations. One of the
frustrating things about factors (class variables) in R is that the list of
levels is stored separately from the data. This can cause all sorts of
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
From: Gavin Simpson [ucfa...@gmail.com]
Sent: Friday, December 06, 2013 11:09 AM
To: Dixon, Philip M [STAT]
Cc: Mitchell, Kendra; r-sig-ecology@r-project.org
Subject: Re: [R-sig-eco] NA error in envfit
Phillip,
You approach to using factors misses an important consideration
University of British Columbia
604-822-5646
From: Gavin Simpson [ucfa...@gmail.com]
Sent: Friday, December 06, 2013 11:09 AM
To: Dixon, Philip M [STAT]
Cc: Mitchell, Kendra; r-sig-ecology@r-project.org
Subject: Re: [R-sig-eco] NA error in envfit
22:01
To: Mitchell, Kendra
Cc: r-sig-ecology@r-project.org
Subject: Re: [R-sig-eco] NA error in envfit
Kendra,
Something is wrong in X or P; find out what the foreign function call is
and then you may be able to track down the offending data problem.
Maybe a logarithm somewhere? This is probably
...@auburn.edu]
Sent: 04 December 2013 22:01
To: Mitchell, Kendra
Cc: r-sig-ecology@r-project.org
Subject: Re: [R-sig-eco] NA error in envfit
Kendra,
Something is wrong in X or P; find out what the foreign function call is
and then you may be able to track down the offending data problem
# install vegan from github
install_github('vegan', 'jarioksa')
BTW I recommend using this form:
install_github('jarioksa/vegan')
Hadley
--
http://had.co.nz/
___
R-sig-ecology mailing list
R-sig-ecology@r-project.org
-ecology@r-project.org
Aihe: Re: [R-sig-eco] NA error in envfit
# install vegan from github
install_github('vegan', 'jarioksa')
BTW I recommend using this form:
install_github('jarioksa/vegan')
Hadley
--
http://had.co.nz/
___
R-sig-ecology mailing
Kendra,
I wonder if the problem is a factor level with no observations. One of the
frustrating things about factors (class variables) in R is that the list of
levels is stored separately from the data. This can cause all sorts of
problems if you create the factor, then subset the data, and
Thanks, I think it was the odd variable that was named f.env$zone I removed
that column and suddenly things started working
--
Kendra Maas Mitchell, Ph.D.
Post Doctoral Research Fellow
University of British Columbia
604-822-5646
From: Dixon, Philip M [STAT]
From: r-sig-ecology-boun...@r-project.org [r-sig-ecology-boun...@r-project.org]
on behalf of Jari Oksanen [jari.oksa...@oulu.fi]
Sent: Thursday, December 05, 2013 7:04 AM
To: Eduard Szöcs; Hadley Wickham
Cc: r-sig-ecology@r-project.org
Subject: Re: [R-sig-eco] NA error in envfit
It is easy
Wickham
Lähetetty: 05.12.2013, 16:19
Vastaanottaja: Eduard Szöcs
Kopio: r-sig-ecology@r-project.org
Aihe: Re: [R-sig-eco] NA error in envfit
# install vegan from github
install_github('vegan', 'jarioksa')
BTW I recommend using this form:
install_github('jarioksa/vegan')
Hadley
--
http
Kendra,
Something is wrong in X or P; find out what the foreign function call is
and then you may be able to track down the offending data problem.
Maybe a logarithm somewhere? This is probably not much help; I don't
have much experience with envfit.
Stephen
On 12/03/2013 07:06 PM,
I'm running a bunch of NMS with vectors fitted (slicing and dicing a large
dataset in different ways). I'm suddenly getting an error from envfit
f.bSBS.org.fit-envfit(f.bSBS.org.nms, f.bSBS.org.env, permutations=999,
na.rm=TRUE)
Error in vectorfit(X, P, permutations, strata, choices, w = w,
14 matches
Mail list logo