get_item_number: Get item number

Description Usage Arguments Value

View source: R/logic.R

Description

Returns an item's position in the test.

Usage

1
2
3
4
get_item_number(x)

## S3 method for class 'item'
get_item_number(x)

Arguments

x

An item object as passed to the show_item function (see adapt_test).

Value

(Integer scalar) The item's position in the test; for example, the second item in the test would yield the integer 2L.


pmcharrison/psychTestRCAT documentation built on Sept. 12, 2020, 7:18 a.m.