classicalRNG: Measures of the classical RNG task

Description Usage Arguments Details Value See Also Examples

Description

Individual functions to get the measures of the classical RNG task (see Details below). Use function allRNG() to get a list with all (or selected) measures.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Redundancy(y, minScale = NA, maxScale = NA)

RNG(y, minScale = NA, maxScale = NA, results = c("classical", "randseqR")[2])

RNG2(y, minScale = NA, maxScale = NA, results = c("classical", "randseqR")[2])

RF(y, minScale = NA, maxScale = NA)

Coupon(y, minScale = NA, maxScale = NA)

NSQ(y, minScale = NA, maxScale = NA, results = c("classical", "randseqR")[2])

FOD(y, minScale = NA, maxScale = NA, results = c("classical", "randseqR")[2])

Adjacency(
  y,
  minScale = NA,
  maxScale = NA,
  results = c("classical", "randseqR")[2]
)

TPI(y, minScale = NA, maxScale = NA)

PhL(y, minScale = NA, maxScale = NA)

Runs(y, minScale = NA, maxScale = NA, results = c("classical", "randseqR")[2])

repDistance(y, minScale = NA, maxScale = NA)

repGap(y, minScale = NA, maxScale = NA)

phiIndex(
  y,
  minScale = NA,
  maxScale = NA,
  responseAlternatives = NA,
  maxOrder = 7
)

Arguments

y

A sequence of symbols. If y is non-numeric, unique elements will be labelled by an integer value.

minScale

Minimum expected value. If y is a character vector this should refer to the lowest numeric code used.

maxScale

Maximum expected value. If y is a character vector this should refer to the highest numeric code used.

results

either 'randseqR' (default) or 'classical. randseqR gives a better consistency among RNG measures, while classical gives output comparible to RGcalc by Towse and Neil (1998)

responseAlternatives

An optional vector of possible response alternatives. If NA, responseAlternatives will be set to seq(minScale,maxScale)

maxOrder

Details

Avialable classical measures:

Value

Output

See Also

allRNG() to get all, or, a selected list of measures.

Examples

1
2
3
y <- round(runif(100,1,9))

R(y, maxScale = 9)

FredHasselman/randseqR documentation built on May 29, 2020, 11:57 a.m.