createSampleFromTable          package:maDB          R Documentation

_C_r_e_a_t_e _a _n_e_w _S_a_m_p_l_e _o_b_j_e_c_t _u_s_i_n_g _d_a_t_a _f_r_o_m _a _m_a_t_r_i_x

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

     'createSampleFromTable' This function creates a new instance from
     the class 'Sample' using the data in the matrix submitted as
     attribute. The column names of the matrix should correspond to the
     attribute names (slot names) of the 'Sample' class. All '"_"' will
     be replaced by a dot in the column names (for example for the slot
     'exposure.time' of the Sample class the table should have a column
     named "exposure_time").

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

     createSampleFromTable(table)

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

   table: The data table that contains the values with which the new
          Sample object should be filled.

_D_e_t_a_i_l_s:

     This function a new Sample object filling its slots with the
     values of the data table submitted.

_A_u_t_h_o_r(_s):

     Johannes Rainer

_R_e_f_e_r_e_n_c_e_s:

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

     'Sample-class'

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

