Skip to content
Prev 21185 / 29559 Next

Ecological Niche Factor Analysis

Dear Alannie, 

Sorry for the very late answer. Sometimes even projections that should be the same are not, I guess due to the way R stores them. 'count.points' actually checks for 

identical(proj4string(corysp), proj4string(bio))

So you can simply check:

proj4string(corysp)

and 

proj4string(bio)

There might be a tiny difference that prevents the function to work. If this is the case, but you are sure that the two data sets are properly projected in the same projection, you can simply use (you'll get a warning):

proj4string(corysp) <- proj4string(bio)

and run 'count.points' again.

As for the histograms, I think you're trying to use 'hist.kasc' from the legacy adehabitat. And, as its name suggests, this only works --

~$ whoami 
Mathieu Basille, PhD 
 
~$ locate --details 
University of Florida \\ 
Fort Lauderdale Research and Education Center 
(+1) 954-577-6314 
http://ase-research.org/basille 
 
~$ fortune 
? Le tout est de tout dire, et je manque de mots 
Et je manque de temps, et je manque d&#39;audace. ? 
  -- Paul ?luardfor kascs, not SpatialPixelsDataFrames (the function is actually not available anymore in the new adehabitatMA). Try to use any column of the SPDF as a regular data frame column, with 'hist' and 'density' if that's what you're looking for.

Hope this helps,
Mathieu.


---- Le ven., 30 mai 2014 16:02:24 -0400 alannie  a ?crit ----
--

~$ whoami 
Mathieu Basille, PhD 
 
~$ locate --details 
University of Florida \\ 
Fort Lauderdale Research and Education Center 
(+1) 954-577-6314 
http://ase-research.org/basille 
 
~$ fortune 
? Le tout est de tout dire, et je manque de mots 
Et je manque de temps, et je manque d'audace. ? 
 -- Paul ?luard
Message-ID: <146b012e735.-9204350249694774088.-2603564756497648759@ase-research.org>
In-Reply-To: <b5e67cb38dd58feb8240d7bf30db744c.squirrel@webmail.pitt.edu>