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.

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

Value

Output

Details

Avialable classical measures:

  • Redundancy: Measures how,..

  • RNG: Measures of

  • RNG2: blah

See also

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

Examples

y <- round(runif(100,1,9)) R(y, maxScale = 9)
#> Error in R(y, maxScale = 9): could not find function "R"