network {Zelig} | R Documentation |
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.
network(...)
... |
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. |
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.
Skyler J. Cranmer
The full Zelig manual is available at http://gking.harvard.edu/zelig.
## Not run: ## Let Var1, Var2, Var3, Var4, and Var5 be matrices friendship <- network(Var1, Var2, Var3, Var4, Var5) ## End(Not run)