R/subsetbank.R

Defines functions subsetbank

Documented in subsetbank

subsetbank<-function(QBANK, sel)
  {
    ### given a question bank and vector of selections
    ###   return selected questions
    V = vector(mode="list")

    for(i in 1:length(sel))
      {
        V[[i]] = QBANK[[sel[i]]]



      }
    return(V)

  }

Try the ProfessR package in your browser

Any scripts or data that you put into this service are public.

ProfessR documentation built on Aug. 21, 2023, 9:07 a.m.