Description Usage Arguments Value Examples
Site fidelity
1 | rhrFidelity(dat, n = 100)
|
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. |
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.
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])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.