imSeven {numGen} | R Documentation |
Item Model 7
Description
This uses item model 7 to create number series items - Identification of complex coefficients of change
Usage
imSeven(vOne = 1, vTwo = 3, items, seed = 1, logic = "one",
random = FALSE)
Arguments
vOne |
The first value in the complex coefficient (x). Can be a sequence of values or a specific value. |
vTwo |
The second value in the complex coefficient (y). Can be a sequence of values or a specific value. |
items |
Generate a random mix of items. |
seed |
To get the same random sampling of items |
logic |
"one" or "two" |
random |
If random=FALSE, the items will follow in sequential order. |
Details
This function creates number series that is a combination of Arithmetic, Linear and Complex coefficient. Ability to identify complex coefficients; the coefficient of change involves a combination of arithmetic operations (e.g. addition and multiplication) applied serially.
There are two logic to calculate the number series.
First logic of complex coefficient = i*x+y.
Second logic of complex coefficient = (i+x)*y.
.
Example: Each element in the sequence is derived from the preceding by adding two and multiplying the result by two. (2 8 20 44 92 (188)).
Author(s)
Aiden Loe and Filip Simonfy
Examples
#Draws 5 items randomly.
imSeven(vOne=1,vTwo=3,items=5,seed=2,logic="one",random=TRUE)
# Calculates all combinations
# Items and seed arg is ignored.
imSeven(vOne=1:2,vTwo=1:3,items=5,seed=2,logic="one",random=FALSE)