create_tf: Create a True/False Quiz

Description Usage Arguments Value Examples

View source: R/Create_questions.R

Description

Create a True/False Quiz

Usage

1
create_tf(qus, wts = rep(1, qus), ats = rep(1, qus))

Arguments

qus

The number of questions in the quiz

wts

The weighting score for each question, can be provided as a single integer, or a vector with number of elements equal to qus

ats

The number of attempts the test taker is allowed to answer the question, can be provided as a single integer, or a vector with number of elements equal to qus. For any value greater than 1 the answer will be correct every time.

Value

A test object

Examples

1
2
create_tf(10)
create_tf(5,1:5)

DanNashSoton/GuessR documentation built on May 29, 2018, 10:10 a.m.