[Qgis-user] Where is R in QGIS Sextante
Manuel Spínola
mspinola10 at gmail.com
Fri Nov 23 08:28:38 PST 2012
Yes, no problem, but my script is for working in RStudio, I don't know how
to do it in R SEXTANTE or ManageR.
##################################
library(adehabitatHR)
the data set is called "mam"
> head(mam)
Especie X.coord Y.coord
1 Canis familiaris 322988.0 1212817
2 Caluromys derbianus 325730.6 1203590
3 Mamifero sp 321659.7 1216665
4 Mamifero sp 322918.3 1213156
5 Didelphis sp 323609.1 1211597
6 Mamifero sp 325512.2 1203657
# con adehabitatHR
xy <- c(mam$X.coord, mam$Y.coord)
xyspm <- matrix(xy, ncol=2)
xyspm
xysp <- SpatialPoints(xyspm)
plot(xysp, pch = 16, col = "red")
ud <- kernelUD(xysp)
ud
image(ud)
# Estimating the home range from the UD
homerange <- getverticeshr(ud)
class(homerange)
plot(homerange, col = "red")
vud <- getvolumeUD(ud)
vud
image(vud)
contour(vud)
2012/11/20 simbamangu <simbamangu+osgeo at gmail.com>
> Could you share the code here or as a page on the QGIS wiki how-tos
> <http://hub.qgis.org/wiki/quantum-gis/Users_Corner#HowTos> ?
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/Where-is-R-in-QGIS-Sextante-tp5016411p5017669.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspinola at una.ac.cr
mspinola10 at gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036
Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/>
Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20121123/4c4e0bd8/attachment.html>
More information about the Qgis-user
mailing list