rhrFidelity: Site fidelity

Description Usage Arguments Value Examples

Description

Site fidelity

Usage

1
  rhrFidelity(dat, n = 100)

Arguments

dat

a data.frame with at least 2 columns. The first column contains the x-coordinates, the second column contains the y-coordinates

n

the number of simulated trajectories.

Value

object of class RhrFidelity, which is a list of length 4. msd.dat and li.dat is the mean square distance and linearity for the real date. msd.sim and li.sim are the mean square distances and linearities for the simulated trajectories.

Examples

1
2
3
4
5
6
7
8
# simulated data
set.seed(123)
dat <- data.frame(x=runif(1000, 0, 100), y=runif(1000, 0, 100))
rhrFidelity(dat, n=500)

# Example Data
data(datSH)
res <- rhrFidelity(datSH[, 2:3])

rhr documentation built on May 2, 2019, 6:06 p.m.

Related to rhrFidelity in rhr...