network                package:Zelig                R Documentation

_F_o_r_m_a_t _m_a_t_r_i_c_i_e_s _i_n_t_o _a _d_a_t_a _f_r_a_m_e _f_o_r _s_o_c_i_a_l _n_e_t_w_o_r_k _a_n_a_l_y_s_i_s

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     network(...)

_A_r_g_u_m_e_n_t_s:

     ...: 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.

_V_a_l_u_e:

     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.

_A_u_t_h_o_r(_s):

     Skyler J. Cranmer

_S_e_e _A_l_s_o:

     The full Zelig manual is available at <URL:
     http://gking.harvard.edu/zelig>.

_E_x_a_m_p_l_e_s:

     ## Not run: 
     ## Let Var1, Var2, Var3, Var4, and Var5 be matrices
     friendship <- network(Var1, Var2, Var3, Var4, Var5)
     ## End(Not run)

