calc_ind_while_NN_present: Function to calculate for all individuals, for each month the...

Description Usage Arguments

View source: R/process-redcolobus-data.R

Description

Function to calculate for all individuals, for each month the number of lines (i.e. observation) where A is Individual while A and B both in the group as adults

Usage

1
2
3
4
5
6
calc_ind_while_NN_present(
  ind_nn_single_timeperiod,
  dyad_table,
  dyad_matrix,
  return_matrix = TRUE
)

Arguments

ind_nn_single_timeperiod

based on ind_nn_df created with 'prep_red_colobus_ind_nn_data()'

dyad_table

Data frame with all individuals observed during the time period indicating for each month whether they were adult

dyad_matrix

Empty matrix with all individual names as rows/cols

return_matrix

Should the result returned as matrix (default) or data frame


urskalbitzer/daginR documentation built on Jan. 21, 2020, 1:26 a.m.