convert.socprog: Converts Socprog data frame

View source: R/convert.socprog.R

convert.socprogR Documentation

Converts Socprog data frame

Description

Converts socprog 'Group mode' data frame (one scan per line with several individuals observed during the scan)

Usage

convert.socprog(df, id, scan, sep = ";")

Arguments

df

a 'dyadic' or 'group' data frame socprog format

id

an integer or string indicating the column of ids

scan

an integer or string vector indicating the column of the scans

sep

a character indicating the type of sepration between individuals inside one scan

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez

Examples

head(sim.socprog)
convert.socprog(sim.socprog,id=3,scan=c(1,2),sep=";")

SebastianSosa/ANTs documentation built on Sept. 25, 2023, 11:06 p.m.