# Load package and data
library(ctmm)
data(buffalo)
# Extract movement data for a single animal
cilla <- buffalo[[1]]
# Find the best OU movement model
# also see help(variogram.fit)
m1 <- ctmm(tau=6*24*60^2)
M1 <- ctmm.fit(cilla,m1)
# Estimate and summarize the AKDE
KD1 <- akde(cilla,M1)
summary(KD1)
Run the code above in your browser using DataLab