View source: R/readiness_assessment_tests.R
tbl_arrange_RAT_questions | R Documentation |
Function to make it easy to arrange an RAT either by fixed numbers (fixed_number_column
) or semi-randomly or completely randomly. Can also arrange questions within specific groups using the group_by_column
, and can use specific starting numbers for iRAT and tRAT numbering (which need not be the same in case tRATs need to match a specific IF-AT number sequence and iRATs should match a scantron). In case iRAT numbers are different from tRAT numbers, the tRAT numbering is the one matched to the answer key since this needs to match the IF-AT scratch-off.
tbl_arrange_RAT_questions(
rat,
by = "original",
tRAT_n_start = 1,
iRAT_n_start = tRAT_n_start,
iRAT_sel_per_q = 1,
fixed_number_column = NULL,
group_by_column = NULL,
random_seed = random()
)
rat |
Readiness Assessment Test object |
by |
what to arrange by, options: |
tRAT_n_start |
the start number for the tRAT question numbering (if the rRAT should fit a different part of an IF-AT), only matters if |
iRAT_n_start |
the start number for the iRAT question numbering. By default the same as |
iRAT_sel_per_q |
number of selections per question for the iRAT portion of this test, e.g. when using scantrons and giving the students the option to hedge their bets on the iRAT portion of the test. |
fixed_number_column |
name of a column in the RAT questions data frame that indicates the fixed question number. Only relevant if |
group_by_column |
name of a column in the RAT questions data frame that indicates which questions to group together (groups will be arranged alphabetically, those with undefined group come last). Only relevant if |
random_seed |
can overwrite with a fixed value (e.g. |
returns the RAT object with the location in the test specified
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.