table               package:relations               R Documentation

_R_e_l_a_t_i_o_n _T_a_b_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     Returns a tabular representation of a relation like a view of a
     relational database table.

_U_s_a_g_e:

     relation_table(x, memberships = TRUE)

_A_r_g_u_m_e_n_t_s:

       x: an object inheriting from class 'relation'.

memberships: logical; should membership vector (if any) be added to the
          table?

_V_a_l_u_e:

     An object of class 'relation_table', inheriting from class
     'data.frame'.

_S_e_e _A_l_s_o:

     'relation_join'

_E_x_a_m_p_l_e_s:

     R <- data.frame(Name = c("David", "John"),
                     Age = c(33, 66),
                     stringsAsFactors = FALSE)
     R <- as.relation(R)
     relation_table(R)

