# Load package and data
library(ctmm)
data(buffalo)
# Extract movement data for a single animal
cilla <- buffalo[[1]]
# Calculate variogram
svf <- variogram(cilla)
# Plot the variogram
plot(svf)
Run the code above in your browser using DataLab