View source: R/convert.socprog.R
convert.socprog | R Documentation |
Converts socprog 'Group mode' data frame (one scan per line with several individuals observed during the scan)
convert.socprog(df, id, scan, sep = ";")
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 |
Sebastian Sosa, Ivan Puga-Gonzalez
head(sim.socprog)
convert.socprog(sim.socprog,id=3,scan=c(1,2),sep=";")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.