dur_matrix: Create a duration matrix

Description Usage Arguments Value

View source: R/dur_matrix.R

Description

Convert a data frame, usually created by duration_calculator(), with durations for a behaviour to a matrix.

Usage

1
dur_matrix(action_totals, matrix_rows, matrix_cols)

Arguments

action_totals

A data frame with durations

m_rows

A character vector of IDs to go in matrix rows

m_cols

A character vector of IDs to go in matrix columns

Value

A matrix with total duratioin per dyads (in seconds)


avrincon/phukieo documentation built on Aug. 17, 2020, 1:31 p.m.