Description Usage Arguments Value
This function generates the alteri.list
object. alteri.list
is a list where
each entry entails a dataframe
of the alteri of one ego. By using
the netsize
variable it is ensured, that the list entries are of the
correct length and possibly present rows of NA values are deleted.
1 | long.df.to.list(long, netsize, egoID, back.to.df = F)
|
long |
A 'long' dataframe with alteri/dyads in rows. |
netsize |
|
egoID |
|
back.to.df |
If |
wide |
A |
Returns a list
of dataframes
where every
dataframe
represents one ego/ network and the rows in the
dataframe
represents one alter. If the back.to.df
parameter is
called the list
entries are combined to one dataframe
, in the
'long' format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.