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)

