errortrapping: Catch out-of-range parameter values

View source: R/errortrapping_function.R

errortrappingR Documentation

Catch out-of-range parameter values

Description

errortrapping catches improper input values.

Usage

errortrapping(
  relyt = 1,
  valid = 1e-30,
  nom.cutoff = 0.1,
  test.cutoff = 0.9,
  mu = 0
)

Arguments

relyt

Confirmatory test reliability coefficient. Range (0, 1]. Must not be exactly 0.

valid

Nomination validity coefficient. Range (0, 1). Must not be exactly 0 or 1.

nom.cutoff

Nomination cutoff percentile. Range (0, 1). Must not be exactly 0 or 1.

test.cutoff

Confirmatory test cutoff percentile. Range (0, 1). Must not be exactly 0 or 1.

mu

Population mean true score on a standardized (z-score) metric.

Details

Internal function used to validate parameters supplied to other functions.


mcbeem/giftedCalcs documentation built on May 3, 2022, 3:34 a.m.