[R-sig-Geo] sp and adehabitatHR: combine UDs
Mathieu Basille
basille.web at ase-research.org
Thu Oct 15 00:47:13 CEST 2015
Hi Ena,
I'm not sure I completely understand what you want to achieve, but did you
consider using a pre-defined grid (i.e. SpatialPixels) to constrain the
output? See the help from '?kernelbb':
grid: a number giving the size of the grid on which the UD should
be estimated. *Alternatively, this parameter may be an object
of class 'SpatialPixels'*, or a list of objects of class
'SpatialPixels', with named elements corresponding to each
level of the factor id
Hope this helps,
Mathieu.
Le 14/10/2015 09:11, Vv a écrit :
> Hello list,
> I wonder if there already exists a solution on how to combine UDs.
> My intention is to create a reference UD for Mon, Tue, ...., Sun - thus, 7
> reference UDs.
> Hence, I compute for each Monday within my data the Brownian bridge home range.
> I do not use the byburst function because I use different grid parameters.
> Then I would like to (maybe) average all the estimated UDs for Mondays and
> create one single estUD or SpatialPixelsDataFrame.
> (To recreate an estUD would be awesome because then I could use getverticeshr to
> estimate the home range.)
> I tried to figure out an example:
> library(adehabitatHR)
> library(maptools)
> data(puechcirc)
>
> dOne<-puechcirc[1]
> dTwo<-puechcirc[2]
> tata1<-kernelbb(dOne, sig1=6.23, sig2=58, grid=50)
> tata2<-kernelbb(dTwo, sig1=3.72, sig2=58, grid=80)
> The goal should be to generate an extended averaged UD out of the two.
> I've already tried spRbind but of course it just returned the positions but not
> the data within the pixels.
> I also think that the different grid cell size could be challenging but for my
> data I have not find a better way
> to achieve ~50 meters cell size than to align the grid parameter on the data.
> I would appreciate any help :)
> Best, Ena
> (Of course I will send you the solution if I find one)
>
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
Mathieu Basille
basille at ufl.edu | http://ase-research.org/basille
+1 954-577-6314 | University of Florida FLREC
« Le tout est de tout dire, et je manque de mots
Et je manque de temps, et je manque d'audace. »
— Paul Éluard
This message is signed to guarantee its authenticity.
For a true private correspondence, use my public key
to encrypt your messages:
http://mathieu.basille.net/pub.asc
Learn more: http://mzl.la/1BsOGiZ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20151014/3af0613d/attachment.bin>
More information about the R-sig-Geo
mailing list