[R-sig-Geo] Using the ENFA from adehabitatHS in R with sp classes
Mathieu Basille
basille.web at ase-research.org
Wed Aug 14 23:33:03 CEST 2013
Not sure where your problem is. If you have the SpatialPixelsDataFrame and
the SpatialPoints, did you try to go on like in the example?
tab <- slot(map, "data")
pr <- slot(count.points(locs, map), "data")[,1]
pc <- dudi.pca(tab, scannf = FALSE)
(enfa1 <- enfa(pc, pr, scannf = FALSE, nf = 3))
etc., etc.
Mathieu.
Le 08/14/2013 04:46 PM, alannie a écrit :
> Dear Mathieu,
>
> The join/cbind/@data is wonderful!
>
> However, if I try to join the location data as a data.frame or sp class it
> does not work.
>
> What would be the solution to this portion of the equation?
>
> In other words, how to I add locations to the formula?
>
>
> Thank you a million * ∞ !
>
>
> Alannie
>
>
>
>
> --
> View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Using-the-ENFA-from-adehabitatHS-in-R-with-sp-classes-tp7584418p7584422.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
~$ 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
More information about the R-sig-Geo
mailing list