network: Format matricies into a data frame for social network analysis
Description
This function accepts individual matricies as its inputs,
combining the input matricies into a single data frame which can then be
used in the data argument for social network analysis (models
"netlm" and "netlogit") in Zelig.
Usage
network(...)
Arguments
...
matricies representing variables, with rows and columns corresponding to
individuals. These can be given as named arguments and should be
given in the order the in which the user wishes them to appear in
the output data frame.
Value
The network function creates a data frame which
contains matricies instead of vectors as its variables. Inputs to the
function should all be square matricies and can be given as named
arguments.
See Also
The full Zelig manual is available at
http://gking.harvard.edu/zelig.