freq_matrix | R Documentation |
Create a matrix with the frequency that a certain behaviour occurs for a particular dyad (e.g. proximity, body contact or grooming bouts)
freq_matrix(action_df, matrix_rows, matrix_cols)
action_df |
A data frame with all occurences of a single behaviour. Usually created by duration_calculator(). |
m_rows |
A character vector of IDs to go in matrix rows |
m_cols |
A character vector of IDs to go in matrix columns |
A matrix with frequencies per dyad
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.