Description Usage Arguments Value Note Author(s) References See Also Examples

This function takes a list of variogram objects and calculates its number-weighted average variogram.

1 2 |

`x` |
A |

`...` |
Additional variograms if specified individually. |

Returns a `variogram`

object which is a dataframe containing the lag, the semi-variance estimate at that lag, and the approximate degrees of freedom associated with the semi-variance estimate.

Variogram averaging should only be used when there is a degree of similarity across individual variograms.

J. M. Calabrese and C. H. Fleming

C. H. Fleming, J. M. Calabrese, T. Mueller, K.A. Olson, P. Leimgruber, W. F. Fagan. From fine-scale foraging to home ranges: A semi-variance approach to identifying movement modes across spatiotemporal scales. The American Naturalist, 183:5, E154-E167 (2014).

1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ```
# Load package and data
library(ctmm)
data(buffalo)
# Calculate a list of variograms for all similar individuals in the dataset
# the 4th buffalo has a different sampling rate
SVFS <- lapply( buffalo[-4] , variogram )
# alternatively, we could variogram all at coarsest scale with variogram option dt
# Calculate the average variogram
SVF <- mean(SVFS)
# Plot the mean variogram
plot(SVF)
``` |

ctmm-initiative/ctmm documentation built on Aug. 16, 2018, 6:50 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.