movement: Analyze movement recorded within a nest with an accelerometer...

View source: R/movement.R

movementR Documentation

Analyze movement recorded within a nest with an accelerometer datalogger

Description

This function is used to evaluate significant movement within a nest.

Usage

movement(
  x = stop("data.frame must be provided"),
  col.time = "Time",
  col.x = "x",
  col.y = "y",
  col.z = "z",
  NumberRecordBeforeEmergence = 1900,
  k = 4,
  Windowsize = 15
)

Arguments

x

A data.frame with 4 columns, one for time and three for x, y, and z position

col.time

Name of the column with time

col.x

Name of the column with x positions

col.y

Name of the column with y positions

col.z

Name of the column with z positions

NumberRecordBeforeEmergence

Number of records in quiet period

k

Factor to multiply SD to prevent false positive detection

Windowsize

Number of records used for moving average

Details

movement is a function that permits to analyze movement datalogger

Value

The function will return a list

Author(s)

Marc Girondot

References

\insertRef

11893embryogrowth

See Also

Other Data loggers utilities: calibrate.datalogger(), uncertainty.datalogger()

Examples

## Not run: 
library(embryogrowth)
mv <- movement(x=dataf, 
               col.time="Time", 
               col.x="x", col.y="y", col.z="z")

## End(Not run)

embryogrowth documentation built on Sept. 11, 2024, 8:16 p.m.