summarize_trajectories: Function to summarize the morphology, movement and their...

Description Usage Arguments Value

View source: R/Summarize_trajectories.R

Description

Takes the data comprising the information for each frame and calculates summary statistics such as mean and sd (for all morphology metrics) and mean, sd and min/max for some of the movement metrics along the trajectory. Values are rounded to the second decimal.

Usage

1
2
summarize_trajectories(data, calculate.median = T, write = FALSE, to.data,
  merged.data.folder)

Arguments

data

dataframe with the information on morphology and movement for each frame

calculate.median

logical value to indicate whether the median/IQR or the mean/SD summaries should be calculated for the morphology

write

logical argument to indicate whether aggregated information should be saved to disk

to.data

path to the working directory

merged.data.folder

directory where the global database is saved

Value

returns a data.table with the aggregated morphology and movement information for each trajectory


pennekampster/bemovi documentation built on May 25, 2019, 12:46 a.m.