Learn R Programming

embryogrowth (version 9.5)

movement: 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
)

Value

The function will return a list

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

Author

Marc Girondot

Details

movement is a function that permits to analyze movement datalogger

References

11893embryogrowth

See Also

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

Examples

Run this code
if (FALSE) {
library(embryogrowth)
mv <- movement(x=dataf, 
               col.time="Time", 
               col.x="x", col.y="y", col.z="z")
}

Run the code above in your browser using DataLab