| grp.to.edgl | R Documentation | 
Converts linear group by individual data frame to a dyadic data frame (edge list)
grp.to.edgl(df, scan, id)
| df | a data frame of individual associations. | 
| scan | a numeric or character vector representing one or more columns used as scan factors. | 
| id | a numeric or character vector indicating the column holding ids of individuals. | 
a data frame with individual associations (symmetric data) according to the scan variable(s) declared by the user.
grp.to.edgl(sim.grp, scan = c('day', 'location'), id = 'ID')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.