redo_perm_dataStream_focal: Data Stream Focal Sampling cumulative permutations without...

View source: R/RcppExports.R

redo_perm_dataStream_focalR Documentation

Data Stream Focal Sampling cumulative permutations without control factor.

Description

Pre-network cumulative permutation on association data of Focal Sampling type without control factor.

Usage

redo_perm_dataStream_focal(df, ldf1, nperm, col_focal, col_alters, lengthList)

Arguments

df

a data frame.

nperm

an integer indicating the number of permutations to perform.

col_focal

an integer indicating the column holding the id of the focal.

col_alters

an integer indicating the column holding the id of the alters.

lengthList

an integer vector range from 0 to length of the list (c++ indexation).

ldf2

a list of data frames split by individuals focals.

id_obs

a numeric vector with the number of different ids.

Details

Data stream permutations is a pre-network permutations approach. It is use on association data based on the gambit of the group. This permutations functunction is made for data collected of the type of 'focal sampling' and without control factors

Value

A list of data frames, each ones holding a different permutation.

Author(s)

Sebastian Sosa,Ivan Puga-Gonzales.

References

Farine, D. R. (2017). A guide to null models for animal social network analysis. Methods in Ecology and Evolution.

Sosa, S. (in press). Social Network Analysis, in: Encyclopedia of Animal Cognition and Behavior. Springer.


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