Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

AKDE with Map

71 views
Skip to first unread message

Mackenzie Jones

unread,
Nov 26, 2024, 5:32:17 PM11/26/24
to ctmm R user group
Hello ctmm community,

Wondering how I can add a map to my AKDE ID 4 plot so it looks like the one shown here?

This is what I have for my code so far:
==========================================
ds.tel.4 <- as.telemetry(df4)

GUESS <- ctmm.guess(ds.tel.4, interactive = FALSE)
FIT <- ctmm.fit(ds.tel.4, GUESS, method = 'pHREML')

# Develop and plot UD
UD <- occurrence(ds.tel.4,FIT)
class(UD)
plot(UD,col.level=NA)
title (main = "Utilization Distribution ID 4")

# Develop and plot AKDE
UD1 <- akde(ds.tel.4,FIT)
plot(ds.tel.4, UD = UD1, error = FALSE, pch = 20) 
title (main = "AKDE ID 4")
dev.print(pdf, "UD_AKDE_4.pdf")  # save plot to working directory as .pdf
==========================================
Picture1.png
Screen Shot 2024-11-26 at 5.26.44 PM.png

Christen Fleming

unread,
Dec 4, 2024, 10:26:10 PM12/4/24
to ctmm R user group
Hi Mackenzie,

At the moment, you need to export to rasters and shapefiles and then plot them in another package/software like Leaflet.
We do have ongoing undergraduate research working on easier plotting solutions for Google Earth, Rayshader, and Leaflet. Hopefully, some of those projects will be out this spring.

Best,
Chris
Reply all
Reply to author
Forward
0 new messages