rhrBaseMSD: Mean squared distance

Description Usage Arguments Value References Examples

Description

Mean squared distance from the center of activity.

Usage

1
rhrBaseMSD(x, y)

Arguments

x

Numeric vector, the x cooridnates

y

Numeric vector, the y coordinates

Value

Numeric matrix with the x and y coordinates of the new path.

References

http://www.esajournals.org/doi/abs/10.2307/1937590

Examples

1
2
3
4
5
set.seed(123)
x <- rnorm(500)
y <- rnorm(500)

msd <- rhrBase::rhrBaseMSD(x, y)

jmsigner/rhrBase documentation built on May 19, 2019, 2:57 p.m.