varigram
objects (semi-variance vs. time lag) and model semi-variance functions, with approximate confidence intervals around the semi-variance estimates.## S3 method for class 'variogram':
plot(x,CTMM=NULL,level=0.95,fraction=0.5,col="black",col.CTMM="red",...)
## S3 method for class 'variogram':
zoom(x,fraction=0.5,...)
variogram
object calculated using variogram
.ctmm
movement model object in the same format as the output of ctmm.fit
or variogram.fit
.variogram
, that will be plotted. By convention, half is shown. The tail end is generally garbage.plot
function parameters.ctmm
semi-variance function in red if specified. zoom
includes a log-scale zoom slider to manipulate fraction
.ctmm.fit
, plot
, variogram
, variogram.fit
.# 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