gbi_createEmpty: Empty group by individual matrix

View source: R/RcppExports.R

gbi_createEmptyR Documentation

Empty group by individual matrix

Description

Create an embty group by individual matrix according to the number of scans and individuals.

Usage

gbi_createEmpty(d, col_scan, col_id)

Arguments

d

a data frame

col_scan

an integer indicating the number of the column holding the different scans.

col_id

an integer indicating the number of the column holding the different scans.

Details

A group by individual matrix is a way to represent several data collection protocols such as gambit of the groups or scans data collections. They also allow to compute easely several associations indexes.

Value

An empty group by individual matrix.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzales.

References

Whitehead, H. A. L. (1997). Analysing animal social structure. Animal behaviour, 53(5), 1053-1067.


SebastianSosa/ant documentation built on Sept. 23, 2023, 7:06 a.m.