DUPbank               package:ProfessR               R Documentation

_F_i_n_d _D_u_p_l_i_c_a_t_e _Q_u_e_s_t_i_o_n_s

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

     Finds dupliucated questions in a set of Question Banks

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

     DUPbank(Qbank)

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

   Qbank: a list of Question Banks

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

     The program only checks the questions, not the answers. One could
     thus have several questions with the same wording, but different
     answers.  I might change this in the future. Given the list of
     duplicated questions one should edit the original question bank
     files to remove them.

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

       A: vector of duplicated questions

       F: vector of duplicated files where the questions were extracted

       I: vector of duplicated indexes  where the questions were
          extracted

       N: vector of duplicated  indexes where the questions were
          extracted

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

     Jonathan M. Lees<jonathan.lees@unc.edu>

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

     data(QBANK1)

     ###  force some questions to be duplicates:
     QBANK1[[51]]=QBANK1[[25]]
     QBANK1[[52]]=QBANK1[[12]]
     QBANK1[[14]]=QBANK1[[4]]

     DQ = DUPbank(QBANK1)

     DQ

