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

Value

a data frame in socprog format.

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez

Examples

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

ANTs documentation built on July 3, 2022, 1:05 a.m.

Related to convert.socprog in ANTs...